summaryrefslogtreecommitdiff
path: root/keywords
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 /keywords
parent44abd808658570a65df2adca678c746aa0356960 (diff)
downloadruby-0ad4ae91ea6c9c489946a390b231e90c1bf9eedd.tar.gz
* 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 'keywords')
-rw-r--r--keywords5
1 files changed, 5 insertions, 0 deletions
diff --git a/keywords b/keywords
index d79af71983..06f1f011f2 100644
--- a/keywords
+++ b/keywords
@@ -1,4 +1,7 @@
struct kwtable {char *name; int id[2]; enum lex_state_e state;};
+struct kwtable *rb_reserved_word _((const char *, unsigned int));
+#ifndef RIPPER
+
%%
__LINE__, {k__LINE__, k__LINE__}, EXPR_END
__FILE__, {k__FILE__, k__FILE__}, EXPR_END
@@ -40,3 +43,5 @@ until, {kUNTIL, kUNTIL_MOD}, EXPR_BEG
when, {kWHEN, kWHEN}, EXPR_BEG
while, {kWHILE, kWHILE_MOD}, EXPR_BEG
yield, {kYIELD, kYIELD}, EXPR_ARG
+%%
+#endif