summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index 83cd95f6df..2e2e1c24c8 100644
--- a/parse.y
+++ b/parse.y
@@ -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)"))