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

* parse.y: ripper merged.

* lex.c: ditto.
* keywords: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
aamine 2004-09-12 15:21:49 +00:00
parent d7da08aadd
commit b86ccb7973
4 changed files with 2714 additions and 113 deletions

View file

@ -1,3 +1,11 @@
Mon Sep 13 00:20:39 2004 Minero Aoki <aamine@loveruby.net>
* parse.y: ripper merged.
* lex.c: ditto.
* keywords: ditto.
Sun Sep 12 23:53:17 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
* util.c (ruby_strdup): remove unnecessary code. (xmalloc never

View file

@ -1,4 +1,4 @@
struct kwtable {char *name; int id[2]; enum lex_state state;};
struct kwtable {char *name; int id[2]; enum lex_state_e state;};
%%
__LINE__, {k__LINE__, k__LINE__}, EXPR_END
__FILE__, {k__FILE__, k__FILE__}, EXPR_END

4
lex.c
View file

@ -1,6 +1,6 @@
/* C code produced by gperf version 2.7.2 */
/* Command-line: gperf -p -j1 -i 1 -g -o -t -N rb_reserved_word -k'1,3,$' ./keywords */
struct kwtable {char *name; int id[2]; enum lex_state state;};
/* Command-line: gperf -p -j1 -i 1 -g -o -t -N rb_reserved_word -k'1,3,$' keywords */
struct kwtable {char *name; int id[2]; enum lex_state_e state;};
#define TOTAL_KEYWORDS 40
#define MIN_WORD_LENGTH 2

2813
parse.y

File diff suppressed because it is too large Load diff