1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
why 2003-05-13 22:29:52 +00:00
parent bee670e33a
commit 17f705e8cd
10 changed files with 75 additions and 18 deletions

View file

@ -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;