diff options
author | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-09-19 18:48:29 +0000 |
---|---|---|
committer | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-09-19 18:48:29 +0000 |
commit | 0ad4ae91ea6c9c489946a390b231e90c1bf9eedd (patch) | |
tree | db69adc6e49ab76aba51a7cb4cf76f74f3784039 /keywords | |
parent | 44abd808658570a65df2adca678c746aa0356960 (diff) | |
download | ruby-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-- | keywords | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |