mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* parse.y (primary): make functional-style not operator to act
like function. see <http://d.hatena.ne.jp/ku-ma-me/20080624/p1>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d02ef8342c
commit
89080e0254
5 changed files with 21 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
|||
/* C code produced by gperf version 3.0.2 */
|
||||
/* Command-line: gperf --output-file=lex.c.tmp -C -p -j1 -i 1 -g -o -t -N rb_reserved_word -k'1,3,$' keywords */
|
||||
/* C code produced by gperf version 3.0.3 */
|
||||
/* Command-line: gperf -C -p -j1 -i 1 -g -o -t -N rb_reserved_word -k'1,3,$' keywords */
|
||||
|
||||
#if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \
|
||||
&& ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \
|
||||
|
@ -101,6 +101,9 @@ hash (str, len)
|
|||
|
||||
#ifdef __GNUC__
|
||||
__inline
|
||||
#ifdef __GNUC_STDC_INLINE__
|
||||
__attribute__ ((__gnu_inline__))
|
||||
#endif
|
||||
#endif
|
||||
const struct kwtable *
|
||||
rb_reserved_word (str, len)
|
||||
|
@ -123,7 +126,7 @@ rb_reserved_word (str, len)
|
|||
#line 42 "keywords"
|
||||
{"then", {keyword_then, keyword_then}, EXPR_BEG},
|
||||
#line 34 "keywords"
|
||||
{"not", {keyword_not, keyword_not}, EXPR_VALUE},
|
||||
{"not", {keyword_not, keyword_not}, EXPR_ARG},
|
||||
#line 27 "keywords"
|
||||
{"false", {keyword_false, keyword_false}, EXPR_END},
|
||||
#line 40 "keywords"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue