diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-15 11:50:45 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-15 11:50:45 +0000 |
commit | a30fe695e64783e834945f08fc77282b3f3cc2fb (patch) | |
tree | 87e935208870ad102b766a2ccc33c65a15f2850d /keywords | |
parent | cebc9bb19d219aaf5d035ff2d0e5fb69636bd2c1 (diff) | |
download | ruby-a30fe695e64783e834945f08fc77282b3f3cc2fb.tar.gz |
* keywords: enclose C code in declaration section by %{ and %}.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'keywords')
-rw-r--r-- | keywords | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1,7 +1,10 @@ +%{ struct kwtable {char *name; int id[2]; enum lex_state_e state;}; const struct kwtable *rb_reserved_word _((const char *, unsigned int)); #ifndef RIPPER +%} +struct kwtable; %% __LINE__, {keyword__LINE__, keyword__LINE__}, EXPR_END __FILE__, {keyword__FILE__, keyword__FILE__}, EXPR_END |