summaryrefslogtreecommitdiffhomepage
path: root/src/lex.def
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-05-20 22:47:00 +0900
committerYukihiro Matsumoto <[email protected]>2012-05-20 22:47:00 +0900
commitc3fc0c1929c95f5a831baf4301ac4a2e9956c8c1 (patch)
tree82d1fc8786b3c7fa27e4623e1e7c36bc6826deeb /src/lex.def
parent0bba67626eba171f6ddbac3d384db28adf9da133 (diff)
downloadmruby-c3fc0c1929c95f5a831baf4301ac4a2e9956c8c1.tar.gz
mruby-c3fc0c1929c95f5a831baf4301ac4a2e9956c8c1.zip
'not (2)' should not raise warning
Diffstat (limited to 'src/lex.def')
-rw-r--r--src/lex.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lex.def b/src/lex.def
index db05adb9b..a87c00c09 100644
--- a/src/lex.def
+++ b/src/lex.def
@@ -123,7 +123,7 @@ mrb_reserved_word (register const char *str, register unsigned int len)
#line 42 "keywords"
{"then", {keyword_then, keyword_then}, EXPR_BEG},
#line 34 "keywords"
- {"not", {keyword_not, keyword_not}, EXPR_ARG},
+ {"not", {keyword_not, keyword_not}, EXPR_VALUE},
#line 27 "keywords"
{"false", {keyword_false, keyword_false}, EXPR_END},
#line 40 "keywords"