diff options
author | yui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-08 02:24:18 +0000 |
---|---|---|
committer | yui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-08 02:24:18 +0000 |
commit | 2c9def51bb61b9a05b37673fecd65ecbfa01ebd8 (patch) | |
tree | 02439ed665bde3303c3d72e171ee7adb504ba165 /parse.y | |
parent | feb95d4c860045b4944608eb64d457556e03b7a4 (diff) | |
download | ruby-2c9def51bb61b9a05b37673fecd65ecbfa01ebd8.tar.gz |
parse.y: Make NULL_LOC to be internal
* parse.y (NULL_LOC): We will create NODEs only
inside of parse.y, so make NULL_LOC to be internal.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -128,7 +128,7 @@ enum lex_state_e { typedef VALUE stack_type; -rb_code_range_t NULL_LOC = { {0, -1}, {0, -1} }; +static rb_code_range_t NULL_LOC = { {0, -1}, {0, -1} }; # define SHOW_BITSTACK(stack, name) (yydebug ? rb_parser_show_bitstack(parser, stack, name, __LINE__) : (void)0) # define BITSTACK_PUSH(stack, n) (((stack) = ((stack)<<1)|((n)&1)), SHOW_BITSTACK(stack, #stack"(push)")) |