From 17f705e8cd357158916481eb2a8f13e0f91f2299 Mon Sep 17 00:00:00 2001 From: why Date: Tue, 13 May 2003 22:29:52 +0000 Subject: * 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 --- ext/Setup | 1 + ext/Setup.atheos | 1 + ext/Setup.dj | 1 + ext/Setup.emx | 1 + ext/Setup.nt | 1 + ext/Setup.x68 | 1 + ext/syck/token.c | 14 +++++++------- 7 files changed, 13 insertions(+), 7 deletions(-) (limited to 'ext') diff --git a/ext/Setup b/ext/Setup index 6b76bdb0ec..157dd8a85d 100644 --- a/ext/Setup +++ b/ext/Setup @@ -22,6 +22,7 @@ #socket #stringio #strscan +#syck #syslog #tcltklib #tk diff --git a/ext/Setup.atheos b/ext/Setup.atheos index 93be203d65..67c03b9e95 100644 --- a/ext/Setup.atheos +++ b/ext/Setup.atheos @@ -21,6 +21,7 @@ sdbm socket stringio strscan +syck syslog #tcltklib #tk diff --git a/ext/Setup.dj b/ext/Setup.dj index ac3e06fafc..e5a10ffea1 100644 --- a/ext/Setup.dj +++ b/ext/Setup.dj @@ -22,6 +22,7 @@ sdbm #socket stringio strscan +syck #syslog #tcltklib #tk diff --git a/ext/Setup.emx b/ext/Setup.emx index e4a93c55ab..de38b54f55 100644 --- a/ext/Setup.emx +++ b/ext/Setup.emx @@ -22,6 +22,7 @@ racc/cparse socket stringio strscan +#syck #syslog #tcltklib #tk diff --git a/ext/Setup.nt b/ext/Setup.nt index 1840c467a9..d4e2e3adbe 100644 --- a/ext/Setup.nt +++ b/ext/Setup.nt @@ -22,6 +22,7 @@ sdbm socket stringio strscan +#syck #syslog #tcltklib #tk diff --git a/ext/Setup.x68 b/ext/Setup.x68 index ad241ce58b..dd70ea786d 100644 --- a/ext/Setup.x68 +++ b/ext/Setup.x68 @@ -22,6 +22,7 @@ racc/cparse #socket stringio strscan +#syck #syslog #tcltklib #tk diff --git a/ext/syck/token.c b/ext/syck/token.c index 5098cf53f3..dc8802740b 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; -- cgit v1.2.3