summaryrefslogtreecommitdiff
path: root/ext/syck
diff options
context:
space:
mode:
authorwhy <why@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-05-13 22:29:52 +0000
committerwhy <why@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-05-13 22:29:52 +0000
commit17f705e8cd357158916481eb2a8f13e0f91f2299 (patch)
treef87da2401d58b41316f250d4e2065a257b12d190 /ext/syck
parentbee670e33a3b42cd6783ef40e7a6e3ee2cd41c6b (diff)
* lib/yaml/rubytypes.rb, lib/yaml/types.rb: using Object#object_id
rather than deprecated Object#id. * ext/token.c: changed ASCII escapes to octal notation. * ext/Setup*: added entries for static linking of Syck extension. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/syck')
-rw-r--r--ext/syck/token.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/syck/token.c b/ext/syck/token.c
index 5098cf5..dc88027 100644
--- a/ext/syck/token.c
+++ b/ext/syck/token.c
@@ -1,4 +1,4 @@
-/* Generated by re2c 0.5 on Tue May 13 00:35:24 2003 */
+/* Generated by re2c 0.5 on Tue May 13 14:03:13 2003 */
#line 1 "token.re"
/*
* token.re
@@ -1231,14 +1231,14 @@ yy156:
{ char ch = *( YYCURSOR - 1 );
switch ( ch )
{
- case 'a': ch = '\a'; break;
- case 'b': ch = '\b'; break;
- case 'e': ch = '\e'; break;
- case 'f': ch = '\f'; break;
+ case 'a': ch = 7; break;
+ case 'b': ch = '\010'; break;
+ case 'e': ch = '\033'; break;
+ case 'f': ch = '\014'; break;
case 'n': ch = '\n'; break;
- case 'r': ch = '\r'; break;
+ case 'r': ch = '\015'; break;
case 't': ch = '\t'; break;
- case 'v': ch = '\v'; break;
+ case 'v': ch = '\013'; break;
}
QUOTECAT(qstr, qcapa, qidx, ch);
goto DoubleQuote2;