summaryrefslogtreecommitdiff
path: root/lex.c
diff options
context:
space:
mode:
authoraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-09-19 18:48:29 +0000
committeraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-09-19 18:48:29 +0000
commit0ad4ae91ea6c9c489946a390b231e90c1bf9eedd (patch)
treedb69adc6e49ab76aba51a7cb4cf76f74f3784039 /lex.c
parent44abd808658570a65df2adca678c746aa0356960 (diff)
* parse.y [ripper]: spaces before heredoc marker was lost.
* keywords: rb_reserved_word() should be defined only in ruby core. * lex.c: sync with keywords. * ext/ripper/ripper.rb.in (parse): fix typo. * ext/ripper/lib/ripper.rb: sync with ripper.rb.in. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lex.c')
-rw-r--r--lex.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lex.c b/lex.c
index 30c6666d4f..93b056bdef 100644
--- a/lex.c
+++ b/lex.c
@@ -1,6 +1,9 @@
/* 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 */
+/* Command-line: gperf -p -j1 -i 1 -g -o -t -N rb_reserved_word -k'1,3,$' /home/aamine/c/ruby/keywords */
struct kwtable {char *name; int id[2]; enum lex_state_e state;};
+struct kwtable *rb_reserved_word _((const char *, unsigned int));
+#ifndef RIPPER
+;
#define TOTAL_KEYWORDS 40
#define MIN_WORD_LENGTH 2
@@ -134,3 +137,4 @@ rb_reserved_word (str, len)
}
return 0;
}
+#endif