Skip to content

Instantly share code, notes, and snippets.

@yorickpeterse
Created January 2, 2015 13:17
Show Gist options
  • Save yorickpeterse/ec5b9dae5cce0d968d78 to your computer and use it in GitHub Desktop.
Save yorickpeterse/ec5b9dae5cce0d968d78 to your computer and use it in GitHub Desktop.
/home/yorickpeterse/.rubies/ruby-1.8.7-p374/bin/ruby -r ./siteconf20150102-25402-4mfu9j-0.rb extconf.rb
extconf.rb:8: warning: already initialized constant ToolSet
make clean
make
compiling melbourne.cpp
compiling symbols.cpp
generating parser grammar.y
compiling grammar.cpp
grammar.cpp: In function ‘int melbourne_1_1_1_1::mel_yyparse()’:
grammar.cpp:4202:30: error: too few arguments to function ‘int melbourne_1_1_1_1::mel_yylex(void*, void*)’
yychar = yylex (&yylval);
^
grammar.y:149:15: note: declared here
#define yylex mel_yylex
^
grammar.y:184:12: note: in expansion of macro ‘yylex’
static int yylex(void*, void *);
^
In file included from grammar.y:21:0:
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:151:29: note: in expansion of macro ‘PARSER_VAR’
#define lex_state PARSER_VAR(lex_state)
^
grammar.y:604:25: note: in expansion of macro ‘lex_state’
lex_state = EXPR_BEG;
^
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:132:29: note: in expansion of macro ‘PARSER_VAR’
#define compile_for_eval PARSER_VAR(compile_for_eval)
^
grammar.y:610:49: note: in expansion of macro ‘compile_for_eval’
if ($2 && !compile_for_eval) {
^
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:159:29: note: in expansion of macro ‘PARSER_VAR’
#define top_node PARSER_VAR(top_node)
^
grammar.y:621:25: note: in expansion of macro ‘top_node’
top_node = block_append(vps, top_node, $2);
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:163:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_RESCUE(b,res,e) NEW_NODE(NODE_RESCUE,b,res,e)
^
grammar.y:633:44: note: in expansion of macro ‘NEW_RESCUE’
$$ = NEW_RESCUE($1, $2, $3);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:637:57: note: in expansion of macro ‘vps’
$$ = block_append(vps, $$, $3);
^
In file included from grammar.y:21:0:
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:165:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_ENSURE(b,en) NEW_NODE(NODE_ENSURE,b,0,en)
^
grammar.y:640:44: note: in expansion of macro ‘NEW_ENSURE’
$$ = NEW_ENSURE($$, $4);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:648:54: note: in expansion of macro ‘vps’
void_stmts($1, vps);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:656:53: note: in expansion of macro ‘vps’
$$ = newline_node(vps, $1);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:660:53: note: in expansion of macro ‘vps’
$$ = block_append(vps, $1, newline_node(vps, $3));
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:664:70: note: in expansion of macro ‘vps’
$$ = remove_begin($2, vps);
^
In file included from grammar.y:21:0:
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:151:29: note: in expansion of macro ‘PARSER_VAR’
#define lex_state PARSER_VAR(lex_state)
^
grammar.y:668:6: note: in expansion of macro ‘lex_state’
stmt : kALIAS fitem {lex_state = EXPR_FNAME;} fitem
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:219:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_ALIAS(n,o) NEW_NODE(NODE_ALIAS,o,n,0)
^
grammar.y:670:40: note: in expansion of macro ‘NEW_ALIAS’
$$ = NEW_ALIAS($2, $4);
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:220:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_VALIAS(n,o) NEW_NODE(NODE_VALIAS,o,n,0)
^
grammar.y:674:40: note: in expansion of macro ‘NEW_VALIAS’
$$ = NEW_VALIAS($2, $3);
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:220:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_VALIAS(n,o) NEW_NODE(NODE_VALIAS,o,n,0)
^
grammar.y:681:40: note: in expansion of macro ‘NEW_VALIAS’
$$ = NEW_VALIAS($2, rb_parser_sym((rb_parser_state*)parser_state, buf));
^
grammar.y:150:57: error: ‘parser_state’ was not declared in this scope
#define yyerror(str) mel_yyerror(str, (rb_parser_state*)parser_state)
^
grammar.y:685:25: note: in expansion of macro ‘yyerror’
yyerror("can't make alias for the number variables");
^
In file included from grammar.y:21:0:
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:149:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_IF(c,t,e) NEW_NODE(NODE_IF,c,t,e)
^
grammar.y:694:40: note: in expansion of macro ‘NEW_IF’
$$ = NEW_IF(cond($3, vps), remove_begin($1, vps), 0);
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:149:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_IF(c,t,e) NEW_NODE(NODE_IF,c,t,e)
^
node.hpp:150:33: note: in expansion of macro ‘NEW_IF’
#define NEW_UNLESS(c,t,e) NEW_IF(c,e,t)
^
grammar.y:703:40: note: in expansion of macro ‘NEW_UNLESS’
$$ = NEW_UNLESS(cond($3, vps), remove_begin($1, vps), 0);
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:154:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_WHILE(c,b,n) NEW_NODE(NODE_WHILE,c,b,n)
^
grammar.y:713:44: note: in expansion of macro ‘NEW_WHILE’
$$ = NEW_WHILE(cond($3, vps), $1->nd_body, 0);
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:154:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_WHILE(c,b,n) NEW_NODE(NODE_WHILE,c,b,n)
^
grammar.y:716:44: note: in expansion of macro ‘NEW_WHILE’
$$ = NEW_WHILE(cond($3, vps), $1, 1);
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:155:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_UNTIL(c,b,n) NEW_NODE(NODE_UNTIL,c,b,n)
^
grammar.y:725:44: note: in expansion of macro ‘NEW_UNTIL’
$$ = NEW_UNTIL(cond($3, vps), $1->nd_body, 0);
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:155:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_UNTIL(c,b,n) NEW_NODE(NODE_UNTIL,c,b,n)
^
grammar.y:728:44: note: in expansion of macro ‘NEW_UNTIL’
$$ = NEW_UNTIL(cond($3, vps), $1, 1);
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:164:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_RESBODY(a,ex,n) NEW_NODE(NODE_RESBODY,n,ex,a)
^
grammar.y:736:38: note: in expansion of macro ‘NEW_RESBODY’
NODE *resq = NEW_RESBODY(0, remove_begin($3, vps), 0);
^
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:131:29: note: in expansion of macro ‘PARSER_VAR’
#define in_def PARSER_VAR(in_def)
^
grammar.y:741:29: note: in expansion of macro ‘in_def’
if (in_def || in_single) {
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:247:40: note: in expansion of macro ‘vps’
#define local_push(cnt) mel_local_push(vps, cnt)
^
grammar.y:744:25: note: in expansion of macro ‘local_push’
local_push(0);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:249:35: note: in expansion of macro ‘vps’
#define local_pop() mel_local_pop(vps)
^
grammar.y:748:25: note: in expansion of macro ‘local_pop’
local_pop();
^
In file included from grammar.y:21:0:
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:131:29: note: in expansion of macro ‘PARSER_VAR’
#define in_def PARSER_VAR(in_def)
^
grammar.y:753:29: note: in expansion of macro ‘in_def’
if (in_def || in_single) {
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:157:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_ITER(v,i,b) NEW_NODE(NODE_ITER,v,b,i)
^
grammar.y:757:40: note: in expansion of macro ‘NEW_ITER’
$$ = NEW_ITER(0, NEW_POSTEXE(), $3);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:761:87: note: in expansion of macro ‘vps’
$$ = node_assign($1, $3, vps);
^
grammar.y:214:68: error: ‘parser_state’ was not declared in this scope
remove_begin(node, (rb_parser_state*)parser_state), \
^
grammar.y:765:25: note: in expansion of macro ‘value_expr’
value_expr($3);
^
grammar.y:214:68: error: ‘parser_state’ was not declared in this scope
remove_begin(node, (rb_parser_state*)parser_state), \
^
grammar.y:771:25: note: in expansion of macro ‘value_expr’
value_expr($3);
^
grammar.y:214:68: error: ‘parser_state’ was not declared in this scope
remove_begin(node, (rb_parser_state*)parser_state), \
^
grammar.y:798:25: note: in expansion of macro ‘value_expr’
value_expr($6);
^
grammar.y:214:68: error: ‘parser_state’ was not declared in this scope
remove_begin(node, (rb_parser_state*)parser_state), \
^
grammar.y:812:25: note: in expansion of macro ‘value_expr’
value_expr($5);
^
grammar.y:214:68: error: ‘parser_state’ was not declared in this scope
remove_begin(node, (rb_parser_state*)parser_state), \
^
grammar.y:824:25: note: in expansion of macro ‘value_expr’
value_expr($5);
^
grammar.y:214:68: error: ‘parser_state’ was not declared in this scope
remove_begin(node, (rb_parser_state*)parser_state), \
^
grammar.y:836:25: note: in expansion of macro ‘value_expr’
value_expr($5);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:848:60: note: in expansion of macro ‘vps’
rb_backref_error($1, vps);
^
In file included from grammar.y:21:0:
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:216:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_SVALUE(a) NEW_NODE(NODE_SVALUE,a,0,0)
^
grammar.y:853:70: note: in expansion of macro ‘NEW_SVALUE’
$$ = node_assign($1, NEW_SVALUE($3), vps);
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:215:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_TO_ARY(a) NEW_NODE(NODE_TO_ARY,a,0,0)
^
grammar.y:857:84: note: in expansion of macro ‘NEW_TO_ARY’
$1->nd_value = ($1->nd_head) ? NEW_TO_ARY($3) : NEW_ARRAY($3);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:871:91: note: in expansion of macro ‘vps’
$$ = logop(NODE_AND, $1, $3, vps);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:875:90: note: in expansion of macro ‘vps’
$$ = logop(NODE_OR, $1, $3, vps);
^
In file included from grammar.y:21:0:
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:173:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_NOT(a) NEW_NODE(NODE_NOT,0,a,0)
^
grammar.y:879:40: note: in expansion of macro ‘NEW_NOT’
$$ = NEW_NOT(cond($2, vps));
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:173:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_NOT(a) NEW_NODE(NODE_NOT,0,a,0)
^
grammar.y:883:40: note: in expansion of macro ‘NEW_NOT’
$$ = NEW_NOT(cond($2, vps));
^
grammar.y:214:68: error: ‘parser_state’ was not declared in this scope
remove_begin(node, (rb_parser_state*)parser_state), \
^
grammar.y:890:25: note: in expansion of macro ‘value_expr’
value_expr($$);
^
In file included from grammar.y:21:0:
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:166:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_RETURN(s) NEW_NODE(NODE_RETURN,s,0,0)
^
grammar.y:899:40: note: in expansion of macro ‘NEW_RETURN’
$$ = NEW_RETURN(ret_args(vps, $2));
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:158:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_BREAK(s) NEW_NODE(NODE_BREAK,s,0,0)
^
grammar.y:903:40: note: in expansion of macro ‘NEW_BREAK’
$$ = NEW_BREAK(ret_args(vps, $2));
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:159:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_NEXT(s) NEW_NODE(NODE_NEXT,s,0,0)
^
grammar.y:907:40: note: in expansion of macro ‘NEW_NEXT’
$$ = NEW_NEXT(ret_args(vps, $2));
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:914:49: note: in expansion of macro ‘vps’
$$ = new_call(vps, $1, $3, $4);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:918:49: note: in expansion of macro ‘vps’
$$ = new_call(vps, $1, $3, $4);
^
In file included from grammar.y:21:0:
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:173:29: note: in expansion of macro ‘PARSER_VAR’
#define sourceline PARSER_VAR(sourceline)
^
grammar.y:924:42: note: in expansion of macro ‘sourceline’
$<num>1 = sourceline;
^
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:160:29: note: in expansion of macro ‘PARSER_VAR’
#define variables PARSER_VAR(variables)
^
grammar.y:927:22: note: in expansion of macro ‘variables’
opt_block_var { $<vars>$ = variables->block_vars; }
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:157:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_ITER(v,i,b) NEW_NODE(NODE_ITER,v,b,i)
^
grammar.y:931:40: note: in expansion of macro ‘NEW_ITER’
$$ = NEW_ITER($3, 0, extract_block_vars(vps, $5, $<vars>4));
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:938:50: note: in expansion of macro ‘vps’
$$ = new_fcall(vps, $1, $2);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:943:50: note: in expansion of macro ‘vps’
$$ = new_fcall(vps, $1, $2);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:955:49: note: in expansion of macro ‘vps’
$$ = new_call(vps, $1, $3, $4);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:960:49: note: in expansion of macro ‘vps’
$$ = new_call(vps, $1, $3, $4);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:972:49: note: in expansion of macro ‘vps’
$$ = new_call(vps, $1, $3, $4);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:977:49: note: in expansion of macro ‘vps’
$$ = new_call(vps, $1, $3, $4);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:989:50: note: in expansion of macro ‘vps’
$$ = new_super(vps, $2);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:994:50: note: in expansion of macro ‘vps’
$$ = new_yield(vps, $2);
^
In file included from grammar.y:21:0:
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:174:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_MASGN(l,r) NEW_NODE(NODE_MASGN,l,0,r)
^
grammar.y:1009:40: note: in expansion of macro ‘NEW_MASGN’
$$ = NEW_MASGN(NEW_LIST($2), 0);
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:174:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_MASGN(l,r) NEW_NODE(NODE_MASGN,l,0,r)
^
grammar.y:1015:40: note: in expansion of macro ‘NEW_MASGN’
$$ = NEW_MASGN($1, 0);
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:174:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_MASGN(l,r) NEW_NODE(NODE_MASGN,l,0,r)
^
grammar.y:1019:40: note: in expansion of macro ‘NEW_MASGN’
$$ = NEW_MASGN(list_append(vps, $1,$2), 0);
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:174:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_MASGN(l,r) NEW_NODE(NODE_MASGN,l,0,r)
^
grammar.y:1023:40: note: in expansion of macro ‘NEW_MASGN’
$$ = NEW_MASGN($1, $3);
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:174:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_MASGN(l,r) NEW_NODE(NODE_MASGN,l,0,r)
^
grammar.y:1027:40: note: in expansion of macro ‘NEW_MASGN’
$$ = NEW_MASGN($1, -1);
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:174:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_MASGN(l,r) NEW_NODE(NODE_MASGN,l,0,r)
^
grammar.y:1031:40: note: in expansion of macro ‘NEW_MASGN’
$$ = NEW_MASGN(0, $2);
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:174:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_MASGN(l,r) NEW_NODE(NODE_MASGN,l,0,r)
^
grammar.y:1035:40: note: in expansion of macro ‘NEW_MASGN’
$$ = NEW_MASGN(0, -1);
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:169:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_ARRAY(a) NEW_NODE(NODE_ARRAY,a,1,0)
^
node.hpp:168:33: note: in expansion of macro ‘NEW_ARRAY’
#define NEW_LIST(a) NEW_ARRAY(a)
^
grammar.y:1048:40: note: in expansion of macro ‘NEW_LIST’
$$ = NEW_LIST($1);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1052:52: note: in expansion of macro ‘vps’
$$ = list_append(vps, $1, $2);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1058:69: note: in expansion of macro ‘vps’
$$ = assignable($1, 0, vps);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1062:83: note: in expansion of macro ‘vps’
$$ = aryset($1, $3, vps);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1066:81: note: in expansion of macro ‘vps’
$$ = attrset($1, $3, vps);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1070:81: note: in expansion of macro ‘vps’
$$ = attrset($1, $3, vps);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1074:81: note: in expansion of macro ‘vps’
$$ = attrset($1, $3, vps);
^
In file included from grammar.y:21:0:
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:131:29: note: in expansion of macro ‘PARSER_VAR’
#define in_def PARSER_VAR(in_def)
^
grammar.y:1078:29: note: in expansion of macro ‘in_def’
if (in_def || in_single)
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:180:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_CDECL(v,val,path) NEW_NODE(NODE_CDECL,v,val,path)
^
grammar.y:1080:40: note: in expansion of macro ‘NEW_CDECL’
$$ = NEW_CDECL(0, 0, NEW_COLON2($1, $3));
^
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:131:29: note: in expansion of macro ‘PARSER_VAR’
#define in_def PARSER_VAR(in_def)
^
grammar.y:1084:29: note: in expansion of macro ‘in_def’
if (in_def || in_single)
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:180:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_CDECL(v,val,path) NEW_NODE(NODE_CDECL,v,val,path)
^
grammar.y:1086:40: note: in expansion of macro ‘NEW_CDECL’
$$ = NEW_CDECL(0, 0, NEW_COLON3($2));
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1090:59: note: in expansion of macro ‘vps’
rb_backref_error($1, vps);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1097:69: note: in expansion of macro ‘vps’
$$ = assignable($1, 0, vps);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1101:83: note: in expansion of macro ‘vps’
$$ = aryset($1, $3, vps);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1105:81: note: in expansion of macro ‘vps’
$$ = attrset($1, $3, vps);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1109:81: note: in expansion of macro ‘vps’
$$ = attrset($1, $3, vps);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1113:81: note: in expansion of macro ‘vps’
$$ = attrset($1, $3, vps);
^
In file included from grammar.y:21:0:
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:131:29: note: in expansion of macro ‘PARSER_VAR’
#define in_def PARSER_VAR(in_def)
^
grammar.y:1117:29: note: in expansion of macro ‘in_def’
if (in_def || in_single)
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:180:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_CDECL(v,val,path) NEW_NODE(NODE_CDECL,v,val,path)
^
grammar.y:1119:40: note: in expansion of macro ‘NEW_CDECL’
$$ = NEW_CDECL(0, 0, NEW_COLON2($1, $3));
^
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:131:29: note: in expansion of macro ‘PARSER_VAR’
#define in_def PARSER_VAR(in_def)
^
grammar.y:1123:29: note: in expansion of macro ‘in_def’
if (in_def || in_single)
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:180:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_CDECL(v,val,path) NEW_NODE(NODE_CDECL,v,val,path)
^
grammar.y:1125:40: note: in expansion of macro ‘NEW_CDECL’
$$ = NEW_CDECL(0, 0, NEW_COLON3($2));
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1129:59: note: in expansion of macro ‘vps’
rb_backref_error($1, vps);
^
grammar.y:150:57: error: ‘parser_state’ was not declared in this scope
#define yyerror(str) mel_yyerror(str, (rb_parser_state*)parser_state)
^
grammar.y:1136:25: note: in expansion of macro ‘yyerror’
yyerror("class/module name must be CONSTANT");
^
In file included from grammar.y:21:0:
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:226:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_COLON3(i) NEW_NODE(NODE_COLON3,0,i,0)
^
grammar.y:1143:40: note: in expansion of macro ‘NEW_COLON3’
$$ = NEW_COLON3($2);
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:225:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_COLON2(c,i) NEW_NODE(NODE_COLON2,c,i,0)
^
grammar.y:1147:40: note: in expansion of macro ‘NEW_COLON2’
$$ = NEW_COLON2(0, $$);
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:225:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_COLON2(c,i) NEW_NODE(NODE_COLON2,c,i,0)
^
grammar.y:1151:40: note: in expansion of macro ‘NEW_COLON2’
$$ = NEW_COLON2($1, $3);
^
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:151:29: note: in expansion of macro ‘PARSER_VAR’
#define lex_state PARSER_VAR(lex_state)
^
grammar.y:1160:25: note: in expansion of macro ‘lex_state’
lex_state = EXPR_END;
^
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:151:29: note: in expansion of macro ‘PARSER_VAR’
#define lex_state PARSER_VAR(lex_state)
^
grammar.y:1165:25: note: in expansion of macro ‘lex_state’
lex_state = EXPR_END;
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:199:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_LIT(l) NEW_NODE(NODE_LIT,l,0,0)
^
grammar.y:1176:40: note: in expansion of macro ‘NEW_LIT’
$$ = NEW_LIT(QUID2SYM($1));
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:221:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_UNDEF(i) NEW_NODE(NODE_UNDEF,0,i,0)
^
grammar.y:1183:40: note: in expansion of macro ‘NEW_UNDEF’
$$ = NEW_UNDEF($1);
^
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:151:29: note: in expansion of macro ‘PARSER_VAR’
#define lex_state PARSER_VAR(lex_state)
^
grammar.y:1185:6: note: in expansion of macro ‘lex_state’
| undef_list ',' {lex_state = EXPR_FNAME;} fitem
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1187:53: note: in expansion of macro ‘vps’
$$ = block_append(vps, $1, NEW_UNDEF($4));
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1230:87: note: in expansion of macro ‘vps’
$$ = node_assign($1, $3, vps);
^
In file included from grammar.y:21:0:
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:163:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_RESCUE(b,res,e) NEW_NODE(NODE_RESCUE,b,res,e)
^
grammar.y:1234:70: note: in expansion of macro ‘NEW_RESCUE’
$$ = node_assign($1, NEW_RESCUE($3, NEW_RESBODY(0,$5,0), 0), vps);
^
grammar.y:214:68: error: ‘parser_state’ was not declared in this scope
remove_begin(node, (rb_parser_state*)parser_state), \
^
grammar.y:1238:25: note: in expansion of macro ‘value_expr’
value_expr($3);
^
grammar.y:214:68: error: ‘parser_state’ was not declared in this scope
remove_begin(node, (rb_parser_state*)parser_state), \
^
grammar.y:1265:25: note: in expansion of macro ‘value_expr’
value_expr($6);
^
grammar.y:214:68: error: ‘parser_state’ was not declared in this scope
remove_begin(node, (rb_parser_state*)parser_state), \
^
grammar.y:1279:25: note: in expansion of macro ‘value_expr’
value_expr($5);
^
grammar.y:214:68: error: ‘parser_state’ was not declared in this scope
remove_begin(node, (rb_parser_state*)parser_state), \
^
grammar.y:1291:25: note: in expansion of macro ‘value_expr’
value_expr($5);
^
grammar.y:214:68: error: ‘parser_state’ was not declared in this scope
remove_begin(node, (rb_parser_state*)parser_state), \
^
grammar.y:1303:25: note: in expansion of macro ‘value_expr’
value_expr($5);
^
grammar.y:150:57: error: ‘parser_state’ was not declared in this scope
#define yyerror(str) mel_yyerror(str, (rb_parser_state*)parser_state)
^
grammar.y:1315:25: note: in expansion of macro ‘yyerror’
yyerror("constant re-assignment");
^
grammar.y:150:57: error: ‘parser_state’ was not declared in this scope
#define yyerror(str) mel_yyerror(str, (rb_parser_state*)parser_state)
^
grammar.y:1320:25: note: in expansion of macro ‘yyerror’
yyerror("constant re-assignment");
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1325:60: note: in expansion of macro ‘vps’
rb_backref_error($1, vps);
^
grammar.y:214:68: error: ‘parser_state’ was not declared in this scope
remove_begin(node, (rb_parser_state*)parser_state), \
^
grammar.y:1330:25: note: in expansion of macro ‘value_expr’
value_expr($1);
^
grammar.y:214:68: error: ‘parser_state’ was not declared in this scope
remove_begin(node, (rb_parser_state*)parser_state), \
^
grammar.y:1336:25: note: in expansion of macro ‘value_expr’
value_expr($1);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1342:91: note: in expansion of macro ‘vps’
$$ = call_op($1, '+', 1, $3, vps);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1346:91: note: in expansion of macro ‘vps’
$$ = call_op($1, '-', 1, $3, vps);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1350:91: note: in expansion of macro ‘vps’
$$ = call_op($1, '*', 1, $3, vps);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1354:91: note: in expansion of macro ‘vps’
$$ = call_op($1, '/', 1, $3, vps);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1358:91: note: in expansion of macro ‘vps’
$$ = call_op($1, '%', 1, $3, vps);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1362:92: note: in expansion of macro ‘vps’
$$ = call_op($1, tPOW, 1, $3, vps);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1366:100: note: in expansion of macro ‘vps’
$$ = call_op(call_op($2, tPOW, 1, $4, vps), tUMINUS, 0, 0, vps);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1370:100: note: in expansion of macro ‘vps’
$$ = call_op(call_op($2, tPOW, 1, $4, vps), tUMINUS, 0, 0, vps);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1378:83: note: in expansion of macro ‘vps’
$$ = call_op($2, tUPLUS, 0, 0, vps);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1383:80: note: in expansion of macro ‘vps’
$$ = call_op($2, tUMINUS, 0, 0, vps);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1387:91: note: in expansion of macro ‘vps’
$$ = call_op($1, '|', 1, $3, vps);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1391:91: note: in expansion of macro ‘vps’
$$ = call_op($1, '^', 1, $3, vps);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1395:91: note: in expansion of macro ‘vps’
$$ = call_op($1, '&', 1, $3, vps);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1399:92: note: in expansion of macro ‘vps’
$$ = call_op($1, tCMP, 1, $3, vps);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1403:91: note: in expansion of macro ‘vps’
$$ = call_op($1, '>', 1, $3, vps);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1407:92: note: in expansion of macro ‘vps’
$$ = call_op($1, tGEQ, 1, $3, vps);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1411:91: note: in expansion of macro ‘vps’
$$ = call_op($1, '<', 1, $3, vps);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1415:92: note: in expansion of macro ‘vps’
$$ = call_op($1, tLEQ, 1, $3, vps);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1419:91: note: in expansion of macro ‘vps’
$$ = call_op($1, tEQ, 1, $3, vps);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1423:92: note: in expansion of macro ‘vps’
$$ = call_op($1, tEQQ, 1, $3, vps);
^
In file included from grammar.y:21:0:
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:173:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_NOT(a) NEW_NODE(NODE_NOT,0,a,0)
^
grammar.y:1427:40: note: in expansion of macro ‘NEW_NOT’
$$ = NEW_NOT(call_op($1, tEQ, 1, $3, vps));
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1431:85: note: in expansion of macro ‘vps’
$$ = match_gen($1, $3, vps);
^
In file included from grammar.y:21:0:
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:173:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_NOT(a) NEW_NODE(NODE_NOT,0,a,0)
^
grammar.y:1435:40: note: in expansion of macro ‘NEW_NOT’
$$ = NEW_NOT(match_gen($1, $3, vps));
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:173:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_NOT(a) NEW_NODE(NODE_NOT,0,a,0)
^
grammar.y:1439:40: note: in expansion of macro ‘NEW_NOT’
$$ = NEW_NOT(cond($2, vps));
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1443:76: note: in expansion of macro ‘vps’
$$ = call_op($2, '~', 0, 0, vps);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1447:94: note: in expansion of macro ‘vps’
$$ = call_op($1, tLSHFT, 1, $3, vps);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1451:94: note: in expansion of macro ‘vps’
$$ = call_op($1, tRSHFT, 1, $3, vps);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1455:91: note: in expansion of macro ‘vps’
$$ = logop(NODE_AND, $1, $3, vps);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1459:90: note: in expansion of macro ‘vps’
$$ = logop(NODE_OR, $1, $3, vps);
^
In file included from grammar.y:21:0:
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:152:29: note: in expansion of macro ‘PARSER_VAR’
#define in_defined PARSER_VAR(in_defined)
^
grammar.y:1461:6: note: in expansion of macro ‘in_defined’
| kDEFINED opt_nl {in_defined = 1;} arg
^
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:152:29: note: in expansion of macro ‘PARSER_VAR’
#define in_defined PARSER_VAR(in_defined)
^
grammar.y:1463:25: note: in expansion of macro ‘in_defined’
in_defined = 0;
^
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:161:29: note: in expansion of macro ‘PARSER_VAR’
#define ternary_colon PARSER_VAR(ternary_colon)
^
grammar.y:1466:6: note: in expansion of macro ‘ternary_colon’
| arg '?' {ternary_colon++;} arg ':' arg
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:149:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_IF(c,t,e) NEW_NODE(NODE_IF,c,t,e)
^
grammar.y:1468:40: note: in expansion of macro ‘NEW_IF’
$$ = NEW_IF(cond($1, vps), $4, $6);
^
grammar.y:214:68: error: ‘parser_state’ was not declared in this scope
remove_begin(node, (rb_parser_state*)parser_state), \
^
grammar.y:1480:25: note: in expansion of macro ‘value_expr’
value_expr($1);
^
In file included from grammar.y:21:0:
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:169:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_ARRAY(a) NEW_NODE(NODE_ARRAY,a,1,0)
^
node.hpp:168:33: note: in expansion of macro ‘NEW_ARRAY’
#define NEW_LIST(a) NEW_ARRAY(a)
^
grammar.y:1489:40: note: in expansion of macro ‘NEW_LIST’
$$ = NEW_LIST($1);
^
grammar.y:214:68: error: ‘parser_state’ was not declared in this scope
remove_begin(node, (rb_parser_state*)parser_state), \
^
grammar.y:1497:25: note: in expansion of macro ‘value_expr’
value_expr($4);
^
In file included from grammar.y:21:0:
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:169:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_ARRAY(a) NEW_NODE(NODE_ARRAY,a,1,0)
^
node.hpp:168:33: note: in expansion of macro ‘NEW_ARRAY’
#define NEW_LIST(a) NEW_ARRAY(a)
^
grammar.y:1502:40: note: in expansion of macro ‘NEW_LIST’
$$ = NEW_LIST(NEW_HASH($1));
^
grammar.y:214:68: error: ‘parser_state’ was not declared in this scope
remove_begin(node, (rb_parser_state*)parser_state), \
^
grammar.y:1506:25: note: in expansion of macro ‘value_expr’
value_expr($2);
^
In file included from grammar.y:21:0:
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:169:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_ARRAY(a) NEW_NODE(NODE_ARRAY,a,1,0)
^
node.hpp:168:33: note: in expansion of macro ‘NEW_ARRAY’
#define NEW_LIST(a) NEW_ARRAY(a)
^
grammar.y:1522:40: note: in expansion of macro ‘NEW_LIST’
$$ = NEW_LIST($2);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1527:52: note: in expansion of macro ‘vps’
$$ = list_append(vps, $2, $4);
^
In file included from grammar.y:21:0:
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:169:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_ARRAY(a) NEW_NODE(NODE_ARRAY,a,1,0)
^
node.hpp:168:33: note: in expansion of macro ‘NEW_ARRAY’
#define NEW_LIST(a) NEW_ARRAY(a)
^
grammar.y:1538:40: note: in expansion of macro ‘NEW_LIST’
$$ = NEW_LIST($1);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1546:51: note: in expansion of macro ‘vps’
$$ = arg_concat(vps, $1, $4);
^
In file included from grammar.y:21:0:
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:169:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_ARRAY(a) NEW_NODE(NODE_ARRAY,a,1,0)
^
node.hpp:168:33: note: in expansion of macro ‘NEW_ARRAY’
#define NEW_LIST(a) NEW_ARRAY(a)
^
grammar.y:1551:40: note: in expansion of macro ‘NEW_LIST’
$$ = NEW_LIST(NEW_HASH($1));
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1556:51: note: in expansion of macro ‘vps’
$$ = arg_concat(vps, NEW_LIST(NEW_HASH($1)), $4);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1561:52: note: in expansion of macro ‘vps’
$$ = list_append(vps, $1, NEW_HASH($3));
^
grammar.y:214:68: error: ‘parser_state’ was not declared in this scope
remove_begin(node, (rb_parser_state*)parser_state), \
^
grammar.y:1566:25: note: in expansion of macro ‘value_expr’
value_expr($6);
^
In file included from grammar.y:21:0:
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:214:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_SPLAT(a) NEW_NODE(NODE_SPLAT,a,0,0)
^
grammar.y:1572:53: note: in expansion of macro ‘NEW_SPLAT’
$$ = arg_blk_pass(NEW_SPLAT($2), $3);
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:169:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_ARRAY(a) NEW_NODE(NODE_ARRAY,a,1,0)
^
node.hpp:168:33: note: in expansion of macro ‘NEW_ARRAY’
#define NEW_LIST(a) NEW_ARRAY(a)
^
grammar.y:1579:65: note: in expansion of macro ‘NEW_LIST’
$$ = arg_blk_pass(list_concat(NEW_LIST($1),$3), $4);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1587:51: note: in expansion of macro ‘vps’
$$ = arg_concat(vps, NEW_LIST($1), $4);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1592:51: note: in expansion of macro ‘vps’
$$ = arg_concat(vps, list_concat(NEW_LIST($1),$3), $6);
^
In file included from grammar.y:21:0:
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:169:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_ARRAY(a) NEW_NODE(NODE_ARRAY,a,1,0)
^
node.hpp:168:33: note: in expansion of macro ‘NEW_ARRAY’
#define NEW_LIST(a) NEW_ARRAY(a)
^
grammar.y:1597:40: note: in expansion of macro ‘NEW_LIST’
$$ = NEW_LIST(NEW_HASH($1));
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1602:51: note: in expansion of macro ‘vps’
$$ = arg_concat(vps, NEW_LIST(NEW_HASH($1)), $4);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1607:52: note: in expansion of macro ‘vps’
$$ = list_append(vps, NEW_LIST($1), NEW_HASH($3));
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1612:52: note: in expansion of macro ‘vps’
$$ = list_append(vps, list_concat(NEW_LIST($1),$3), NEW_HASH($5));
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1617:51: note: in expansion of macro ‘vps’
$$ = arg_concat(vps, list_append(vps, NEW_LIST($1), NEW_HASH($3)), $6);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1622:51: note: in expansion of macro ‘vps’
$$ = arg_concat(vps, list_append(vps,
^
In file included from grammar.y:21:0:
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:214:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_SPLAT(a) NEW_NODE(NODE_SPLAT,a,0,0)
^
grammar.y:1628:53: note: in expansion of macro ‘NEW_SPLAT’
$$ = arg_blk_pass(NEW_SPLAT($2), $3);
^
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:154:29: note: in expansion of macro ‘PARSER_VAR’
#define cmdarg_stack PARSER_VAR(cmdarg_stack)
^
grammar.y:1634:39: note: in expansion of macro ‘cmdarg_stack’
$<val>$ = cmdarg_stack;
^
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:154:29: note: in expansion of macro ‘PARSER_VAR’
#define cmdarg_stack PARSER_VAR(cmdarg_stack)
^
grammar.y:1640:25: note: in expansion of macro ‘cmdarg_stack’
cmdarg_stack = $<val>1;
^
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:151:29: note: in expansion of macro ‘PARSER_VAR’
#define lex_state PARSER_VAR(lex_state)
^
grammar.y:1646:6: note: in expansion of macro ‘lex_state’
| tLPAREN_ARG {lex_state = EXPR_ENDARG;} ')'
^
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:151:29: note: in expansion of macro ‘PARSER_VAR’
#define lex_state PARSER_VAR(lex_state)
^
grammar.y:1651:6: note: in expansion of macro ‘lex_state’
| tLPAREN_ARG call_args2 {lex_state = EXPR_ENDARG;} ')'
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:218:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_BLOCK_PASS(b) NEW_NODE(NODE_BLOCK_PASS,0,b,0)
^
grammar.y:1660:40: note: in expansion of macro ‘NEW_BLOCK_PASS’
$$ = NEW_BLOCK_PASS($2);
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:169:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_ARRAY(a) NEW_NODE(NODE_ARRAY,a,1,0)
^
node.hpp:168:33: note: in expansion of macro ‘NEW_ARRAY’
#define NEW_LIST(a) NEW_ARRAY(a)
^
grammar.y:1673:40: note: in expansion of macro ‘NEW_LIST’
$$ = NEW_LIST($1);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1677:52: note: in expansion of macro ‘vps’
$$ = list_append(vps, $1, $3);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1683:52: note: in expansion of macro ‘vps’
$$ = list_append(vps, $1, $3);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1687:51: note: in expansion of macro ‘vps’
$$ = arg_concat(vps, $1, $4);
^
In file included from grammar.y:21:0:
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:214:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_SPLAT(a) NEW_NODE(NODE_SPLAT,a,0,0)
^
grammar.y:1691:40: note: in expansion of macro ‘NEW_SPLAT’
$$ = NEW_SPLAT($2);
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:207:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_FCALL(m,a) NEW_NODE(NODE_FCALL,0,m,a)
^
grammar.y:1705:40: note: in expansion of macro ‘NEW_FCALL’
$$ = NEW_FCALL($1, 0);
^
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:173:29: note: in expansion of macro ‘PARSER_VAR’
#define sourceline PARSER_VAR(sourceline)
^
grammar.y:1709:42: note: in expansion of macro ‘sourceline’
$<num>1 = sourceline;
^
grammar.y:403:53: error: ‘parser_state’ was not declared in this scope
#define POP_LINE() pop_start_line((rb_parser_state*)parser_state)
^
grammar.y:1715:25: note: in expansion of macro ‘POP_LINE’
POP_LINE();
^
In file included from grammar.y:21:0:
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:151:29: note: in expansion of macro ‘PARSER_VAR’
#define lex_state PARSER_VAR(lex_state)
^
grammar.y:1722:6: note: in expansion of macro ‘lex_state’
| tLPAREN_ARG expr {lex_state = EXPR_ENDARG;} opt_nl ')'
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:232:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_NIL() NEW_NODE(NODE_NIL,0,0,0)
^
grammar.y:1729:63: note: in expansion of macro ‘NEW_NIL’
if (!$2) $$ = NEW_NIL();
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:225:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_COLON2(c,i) NEW_NODE(NODE_COLON2,c,i,0)
^
grammar.y:1734:40: note: in expansion of macro ‘NEW_COLON2’
$$ = NEW_COLON2($1, $3);
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:226:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_COLON3(i) NEW_NODE(NODE_COLON3,0,i,0)
^
grammar.y:1738:40: note: in expansion of macro ‘NEW_COLON3’
$$ = NEW_COLON3($2);
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:207:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_FCALL(m,a) NEW_NODE(NODE_FCALL,0,m,a)
^
grammar.y:1743:44: note: in expansion of macro ‘NEW_FCALL’
$$ = NEW_FCALL(convert_op((rb_parser_state*) parser_state, tAREF), $3);
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:206:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_CALL(r,m,a) NEW_NODE(NODE_CALL,r,m,a)
^
grammar.y:1745:44: note: in expansion of macro ‘NEW_CALL’
$$ = NEW_CALL($1, convert_op((rb_parser_state*) parser_state, tAREF), $3);
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:170:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_ZARRAY() NEW_NODE(NODE_ZARRAY,0,0,0)
^
grammar.y:1752:44: note: in expansion of macro ‘NEW_ZARRAY’
$$ = NEW_ZARRAY(); /* zero length array*/
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:171:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_HASH(a) NEW_NODE(NODE_HASH,a,0,0)
^
grammar.y:1760:40: note: in expansion of macro ‘NEW_HASH’
$$ = NEW_HASH($2);
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:166:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_RETURN(s) NEW_NODE(NODE_RETURN,s,0,0)
^
grammar.y:1764:40: note: in expansion of macro ‘NEW_RETURN’
$$ = NEW_RETURN(0);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1768:50: note: in expansion of macro ‘vps’
$$ = new_yield(vps, $3);
^
In file included from grammar.y:21:0:
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:167:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_YIELD(a,s) NEW_NODE(NODE_YIELD,a,0,s)
^
grammar.y:1772:40: note: in expansion of macro ‘NEW_YIELD’
$$ = NEW_YIELD(0, Qfalse);
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:167:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_YIELD(a,s) NEW_NODE(NODE_YIELD,a,0,s)
^
grammar.y:1776:40: note: in expansion of macro ‘NEW_YIELD’
$$ = NEW_YIELD(0, Qfalse);
^
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:152:29: note: in expansion of macro ‘PARSER_VAR’
#define in_defined PARSER_VAR(in_defined)
^
grammar.y:1778:6: note: in expansion of macro ‘in_defined’
| kDEFINED opt_nl '(' {in_defined = 1;} expr ')'
^
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:152:29: note: in expansion of macro ‘PARSER_VAR’
#define in_defined PARSER_VAR(in_defined)
^
grammar.y:1780:25: note: in expansion of macro ‘in_defined’
in_defined = 0;
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:207:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_FCALL(m,a) NEW_NODE(NODE_FCALL,0,m,a)
^
grammar.y:1785:52: note: in expansion of macro ‘NEW_FCALL’
$2->nd_iter = NEW_FCALL($1, 0);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:1793:46: note: in expansion of macro ‘vps’
rb_compile_error(vps, "both block arg and actual block given");
^
grammar.y:397:60: error: ‘parser_state’ was not declared in this scope
#define PUSH_LINE(which) push_start_line((rb_parser_state*)parser_state, sourceline, which)
^
grammar.y:1800:21: note: in expansion of macro ‘PUSH_LINE’
PUSH_LINE("if");
^
grammar.y:403:53: error: ‘parser_state’ was not declared in this scope
#define POP_LINE() pop_start_line((rb_parser_state*)parser_state)
^
grammar.y:1806:25: note: in expansion of macro ‘POP_LINE’
POP_LINE();
^
grammar.y:397:60: error: ‘parser_state’ was not declared in this scope
#define PUSH_LINE(which) push_start_line((rb_parser_state*)parser_state, sourceline, which)
^
grammar.y:1816:21: note: in expansion of macro ‘PUSH_LINE’
PUSH_LINE("unless");
^
grammar.y:403:53: error: ‘parser_state’ was not declared in this scope
#define POP_LINE() pop_start_line((rb_parser_state*)parser_state)
^
grammar.y:1822:25: note: in expansion of macro ‘POP_LINE’
POP_LINE();
^
grammar.y:397:60: error: ‘parser_state’ was not declared in this scope
#define PUSH_LINE(which) push_start_line((rb_parser_state*)parser_state, sourceline, which)
^
grammar.y:1832:21: note: in expansion of macro ‘PUSH_LINE’
PUSH_LINE("while");
^
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
grammar.y:188:34: note: in definition of macro ‘BITSTACK_POP’
#define BITSTACK_POP(stack) (stack >>= 1)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:153:29: note: in expansion of macro ‘PARSER_VAR’
#define cond_stack PARSER_VAR(cond_stack)
^
grammar.y:193:38: note: in expansion of macro ‘cond_stack’
#define COND_POP() BITSTACK_POP(cond_stack)
^
grammar.y:1834:6: note: in expansion of macro ‘COND_POP’
} expr_value do {COND_POP();}
^
grammar.y:403:53: error: ‘parser_state’ was not declared in this scope
#define POP_LINE() pop_start_line((rb_parser_state*)parser_state)
^
grammar.y:1838:25: note: in expansion of macro ‘POP_LINE’
POP_LINE();
^
grammar.y:397:60: error: ‘parser_state’ was not declared in this scope
#define PUSH_LINE(which) push_start_line((rb_parser_state*)parser_state, sourceline, which)
^
grammar.y:1846:21: note: in expansion of macro ‘PUSH_LINE’
PUSH_LINE("until");
^
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
grammar.y:188:34: note: in definition of macro ‘BITSTACK_POP’
#define BITSTACK_POP(stack) (stack >>= 1)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:153:29: note: in expansion of macro ‘PARSER_VAR’
#define cond_stack PARSER_VAR(cond_stack)
^
grammar.y:193:38: note: in expansion of macro ‘cond_stack’
#define COND_POP() BITSTACK_POP(cond_stack)
^
grammar.y:1848:6: note: in expansion of macro ‘COND_POP’
} expr_value do {COND_POP();}
^
grammar.y:403:53: error: ‘parser_state’ was not declared in this scope
#define POP_LINE() pop_start_line((rb_parser_state*)parser_state)
^
grammar.y:1852:25: note: in expansion of macro ‘POP_LINE’
POP_LINE();
^
grammar.y:397:60: error: ‘parser_state’ was not declared in this scope
#define PUSH_LINE(which) push_start_line((rb_parser_state*)parser_state, sourceline, which)
^
grammar.y:1860:21: note: in expansion of macro ‘PUSH_LINE’
PUSH_LINE("case");
^
grammar.y:403:53: error: ‘parser_state’ was not declared in this scope
#define POP_LINE() pop_start_line((rb_parser_state*)parser_state)
^
grammar.y:1865:25: note: in expansion of macro ‘POP_LINE’
POP_LINE();
^
grammar.y:1870:55: error: ‘parser_state’ was not declared in this scope
push_start_line((rb_parser_state*)parser_state, sourceline - 1, "case");
^
grammar.y:403:53: error: ‘parser_state’ was not declared in this scope
#define POP_LINE() pop_start_line((rb_parser_state*)parser_state)
^
grammar.y:1873:25: note: in expansion of macro ‘POP_LINE’
POP_LINE();
^
grammar.y:1877:55: error: ‘parser_state’ was not declared in this scope
push_start_line((rb_parser_state*)parser_state, sourceline - 1, "case");
^
grammar.y:403:53: error: ‘parser_state’ was not declared in this scope
#define POP_LINE() pop_start_line((rb_parser_state*)parser_state)
^
grammar.y:1880:25: note: in expansion of macro ‘POP_LINE’
POP_LINE();
^
grammar.y:397:60: error: ‘parser_state’ was not declared in this scope
#define PUSH_LINE(which) push_start_line((rb_parser_state*)parser_state, sourceline, which)
^
grammar.y:1884:21: note: in expansion of macro ‘PUSH_LINE’
PUSH_LINE("for");
^
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
grammar.y:187:34: note: in definition of macro ‘BITSTACK_PUSH’
#define BITSTACK_PUSH(stack, n) (stack = (stack<<1)|((n)&1))
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:153:29: note: in expansion of macro ‘PARSER_VAR’
#define cond_stack PARSER_VAR(cond_stack)
^
grammar.y:192:39: note: in expansion of macro ‘cond_stack’
#define COND_PUSH(n) BITSTACK_PUSH(cond_stack, n)
^
grammar.y:1885:6: note: in expansion of macro ‘COND_PUSH’
} for_var kIN {COND_PUSH(1);} expr_value do {COND_POP();}
^
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
grammar.y:188:34: note: in definition of macro ‘BITSTACK_POP’
#define BITSTACK_POP(stack) (stack >>= 1)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:153:29: note: in expansion of macro ‘PARSER_VAR’
#define cond_stack PARSER_VAR(cond_stack)
^
grammar.y:193:38: note: in expansion of macro ‘cond_stack’
#define COND_POP() BITSTACK_POP(cond_stack)
^
grammar.y:1885:6: note: in expansion of macro ‘COND_POP’
} for_var kIN {COND_PUSH(1);} expr_value do {COND_POP();}
^
grammar.y:403:53: error: ‘parser_state’ was not declared in this scope
#define POP_LINE() pop_start_line((rb_parser_state*)parser_state)
^
grammar.y:1889:25: note: in expansion of macro ‘POP_LINE’
POP_LINE();
^
grammar.y:397:60: error: ‘parser_state’ was not declared in this scope
#define PUSH_LINE(which) push_start_line((rb_parser_state*)parser_state, sourceline, which)
^
grammar.y:1895:25: note: in expansion of macro ‘PUSH_LINE’
PUSH_LINE("class");
^
grammar.y:403:53: error: ‘parser_state’ was not declared in this scope
#define POP_LINE() pop_start_line((rb_parser_state*)parser_state)
^
grammar.y:1905:25: note: in expansion of macro ‘POP_LINE’
POP_LINE();
^
grammar.y:397:60: error: ‘parser_state’ was not declared in this scope
#define PUSH_LINE(which) push_start_line((rb_parser_state*)parser_state, sourceline, which)
^
grammar.y:1913:25: note: in expansion of macro ‘PUSH_LINE’
PUSH_LINE("class");
^
In file included from grammar.y:21:0:
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:130:29: note: in expansion of macro ‘PARSER_VAR’
#define in_single PARSER_VAR(in_single)
^
grammar.y:1919:39: note: in expansion of macro ‘in_single’
$<num>$ = in_single;
^
grammar.y:403:53: error: ‘parser_state’ was not declared in this scope
#define POP_LINE() pop_start_line((rb_parser_state*)parser_state)
^
grammar.y:1927:25: note: in expansion of macro ‘POP_LINE’
POP_LINE();
^
grammar.y:397:60: error: ‘parser_state’ was not declared in this scope
#define PUSH_LINE(which) push_start_line((rb_parser_state*)parser_state, sourceline, which)
^
grammar.y:1937:25: note: in expansion of macro ‘PUSH_LINE’
PUSH_LINE("module");
^
grammar.y:403:53: error: ‘parser_state’ was not declared in this scope
#define POP_LINE() pop_start_line((rb_parser_state*)parser_state)
^
grammar.y:1947:25: note: in expansion of macro ‘POP_LINE’
POP_LINE();
^
grammar.y:397:60: error: ‘parser_state’ was not declared in this scope
#define PUSH_LINE(which) push_start_line((rb_parser_state*)parser_state, sourceline, which)
^
grammar.y:1955:25: note: in expansion of macro ‘PUSH_LINE’
PUSH_LINE("def");
^
grammar.y:403:53: error: ‘parser_state’ was not declared in this scope
#define POP_LINE() pop_start_line((rb_parser_state*)parser_state)
^
grammar.y:1965:25: note: in expansion of macro ‘POP_LINE’
POP_LINE();
^
In file included from grammar.y:21:0:
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:151:29: note: in expansion of macro ‘PARSER_VAR’
#define lex_state PARSER_VAR(lex_state)
^
grammar.y:1973:6: note: in expansion of macro ‘lex_state’
| kDEF singleton dot_or_colon {lex_state = EXPR_FNAME;} fname
^
grammar.y:397:60: error: ‘parser_state’ was not declared in this scope
#define PUSH_LINE(which) push_start_line((rb_parser_state*)parser_state, sourceline, which)
^
grammar.y:1975:25: note: in expansion of macro ‘PUSH_LINE’
PUSH_LINE("def");
^
grammar.y:403:53: error: ‘parser_state’ was not declared in this scope
#define POP_LINE() pop_start_line((rb_parser_state*)parser_state)
^
grammar.y:1984:25: note: in expansion of macro ‘POP_LINE’
POP_LINE();
^
In file included from grammar.y:21:0:
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:158:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_BREAK(s) NEW_NODE(NODE_BREAK,s,0,0)
^
grammar.y:1992:40: note: in expansion of macro ‘NEW_BREAK’
$$ = NEW_BREAK(0);
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:159:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_NEXT(s) NEW_NODE(NODE_NEXT,s,0,0)
^
grammar.y:1996:40: note: in expansion of macro ‘NEW_NEXT’
$$ = NEW_NEXT(0);
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:160:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_REDO() NEW_NODE(NODE_REDO,0,0,0)
^
grammar.y:2000:40: note: in expansion of macro ‘NEW_REDO’
$$ = NEW_REDO();
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:161:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_RETRY() NEW_NODE(NODE_RETRY,0,0,0)
^
grammar.y:2004:40: note: in expansion of macro ‘NEW_RETRY’
$$ = NEW_RETRY();
^
grammar.y:214:68: error: ‘parser_state’ was not declared in this scope
remove_begin(node, (rb_parser_state*)parser_state), \
^
grammar.y:2010:25: note: in expansion of macro ‘value_expr’
value_expr($1);
^
In file included from grammar.y:21:0:
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:149:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_IF(c,t,e) NEW_NODE(NODE_IF,c,t,e)
^
grammar.y:2031:40: note: in expansion of macro ‘NEW_IF’
$$ = NEW_IF(cond($2, vps), $4, $5);
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:169:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_ARRAY(a) NEW_NODE(NODE_ARRAY,a,1,0)
^
node.hpp:168:33: note: in expansion of macro ‘NEW_ARRAY’
#define NEW_LIST(a) NEW_ARRAY(a)
^
grammar.y:2049:40: note: in expansion of macro ‘NEW_LIST’
$$ = NEW_LIST($1);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:2053:52: note: in expansion of macro ‘vps’
$$ = list_append(vps, $1, $3);
^
In file included from grammar.y:21:0:
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:174:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_MASGN(l,r) NEW_NODE(NODE_MASGN,l,0,r)
^
grammar.y:2063:44: note: in expansion of macro ‘NEW_MASGN’
$$ = NEW_MASGN($1, 0);
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:174:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_MASGN(l,r) NEW_NODE(NODE_MASGN,l,0,r)
^
grammar.y:2068:40: note: in expansion of macro ‘NEW_MASGN’
$$ = NEW_MASGN($1, 0);
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
grammar.y:447:29: note: in expansion of macro ‘NEW_NODE’
#define NEW_BLOCK_VAR(b, v) NEW_NODE(NODE_BLOCK_PASS, 0, b, v)
^
grammar.y:2072:40: note: in expansion of macro ‘NEW_BLOCK_VAR’
$$ = NEW_BLOCK_VAR($4, NEW_MASGN($1, 0));
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
grammar.y:447:29: note: in expansion of macro ‘NEW_NODE’
#define NEW_BLOCK_VAR(b, v) NEW_NODE(NODE_BLOCK_PASS, 0, b, v)
^
grammar.y:2076:40: note: in expansion of macro ‘NEW_BLOCK_VAR’
$$ = NEW_BLOCK_VAR($7, NEW_MASGN($1, $4));
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
grammar.y:447:29: note: in expansion of macro ‘NEW_NODE’
#define NEW_BLOCK_VAR(b, v) NEW_NODE(NODE_BLOCK_PASS, 0, b, v)
^
grammar.y:2080:40: note: in expansion of macro ‘NEW_BLOCK_VAR’
$$ = NEW_BLOCK_VAR($6, NEW_MASGN($1, -1));
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:174:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_MASGN(l,r) NEW_NODE(NODE_MASGN,l,0,r)
^
grammar.y:2084:40: note: in expansion of macro ‘NEW_MASGN’
$$ = NEW_MASGN($1, $4);
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:174:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_MASGN(l,r) NEW_NODE(NODE_MASGN,l,0,r)
^
grammar.y:2088:40: note: in expansion of macro ‘NEW_MASGN’
$$ = NEW_MASGN($1, -1);
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
grammar.y:447:29: note: in expansion of macro ‘NEW_NODE’
#define NEW_BLOCK_VAR(b, v) NEW_NODE(NODE_BLOCK_PASS, 0, b, v)
^
grammar.y:2092:40: note: in expansion of macro ‘NEW_BLOCK_VAR’
$$ = NEW_BLOCK_VAR($5, NEW_MASGN(0, $2));
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
grammar.y:447:29: note: in expansion of macro ‘NEW_NODE’
#define NEW_BLOCK_VAR(b, v) NEW_NODE(NODE_BLOCK_PASS, 0, b, v)
^
grammar.y:2096:40: note: in expansion of macro ‘NEW_BLOCK_VAR’
$$ = NEW_BLOCK_VAR($4, NEW_MASGN(0, -1));
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:174:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_MASGN(l,r) NEW_NODE(NODE_MASGN,l,0,r)
^
grammar.y:2100:40: note: in expansion of macro ‘NEW_MASGN’
$$ = NEW_MASGN(0, $2);
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:174:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_MASGN(l,r) NEW_NODE(NODE_MASGN,l,0,r)
^
grammar.y:2104:40: note: in expansion of macro ‘NEW_MASGN’
$$ = NEW_MASGN(0, -1);
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
grammar.y:447:29: note: in expansion of macro ‘NEW_NODE’
#define NEW_BLOCK_VAR(b, v) NEW_NODE(NODE_BLOCK_PASS, 0, b, v)
^
grammar.y:2108:40: note: in expansion of macro ‘NEW_BLOCK_VAR’
$$ = NEW_BLOCK_VAR($2, (NODE*)1);
^
grammar.y:397:60: error: ‘parser_state’ was not declared in this scope
#define PUSH_LINE(which) push_start_line((rb_parser_state*)parser_state, sourceline, which)
^
grammar.y:2129:25: note: in expansion of macro ‘PUSH_LINE’
PUSH_LINE("do");
^
In file included from grammar.y:21:0:
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:160:29: note: in expansion of macro ‘PARSER_VAR’
#define variables PARSER_VAR(variables)
^
grammar.y:2135:38: note: in expansion of macro ‘variables’
$<vars>$ = variables->block_vars;
^
grammar.y:403:53: error: ‘parser_state’ was not declared in this scope
#define POP_LINE() pop_start_line((rb_parser_state*)parser_state)
^
grammar.y:2140:25: note: in expansion of macro ‘POP_LINE’
POP_LINE();
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:2149:46: note: in expansion of macro ‘vps’
rb_compile_error(vps, "both block arg and actual block given");
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:2157:49: note: in expansion of macro ‘vps’
$$ = new_call(vps, $1, $3, $4);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:2161:49: note: in expansion of macro ‘vps’
$$ = new_call(vps, $1, $3, $4);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:2167:50: note: in expansion of macro ‘vps’
$$ = new_fcall(vps, $1, $2);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:2172:49: note: in expansion of macro ‘vps’
$$ = new_call(vps, $1, $3, $4);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:2177:49: note: in expansion of macro ‘vps’
$$ = new_call(vps, $1, $3, $4);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:2182:49: note: in expansion of macro ‘vps’
$$ = new_call(vps, $1, $3, 0);
^
In file included from grammar.y:21:0:
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:206:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_CALL(r,m,a) NEW_NODE(NODE_CALL,r,m,a)
^
grammar.y:2186:40: note: in expansion of macro ‘NEW_CALL’
$$ = NEW_CALL($1, rb_parser_sym((rb_parser_state*) parser_state, "get_reference"),
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:207:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_FCALL(m,a) NEW_NODE(NODE_FCALL,0,m,a)
^
grammar.y:2191:40: note: in expansion of macro ‘NEW_FCALL’
$$ = NEW_FCALL(rb_parser_sym((rb_parser_state*) parser_state, "get_reference"),
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:2196:50: note: in expansion of macro ‘vps’
$$ = new_super(vps, $2);
^
In file included from grammar.y:21:0:
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:210:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_ZSUPER() NEW_NODE(NODE_ZSUPER,0,0,0)
^
grammar.y:2200:40: note: in expansion of macro ‘NEW_ZSUPER’
$$ = NEW_ZSUPER();
^
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:173:29: note: in expansion of macro ‘PARSER_VAR’
#define sourceline PARSER_VAR(sourceline)
^
grammar.y:2206:42: note: in expansion of macro ‘sourceline’
$<num>1 = sourceline;
^
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:160:29: note: in expansion of macro ‘PARSER_VAR’
#define variables PARSER_VAR(variables)
^
grammar.y:2209:22: note: in expansion of macro ‘variables’
opt_block_var { $<vars>$ = variables->block_vars; }
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:157:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_ITER(v,i,b) NEW_NODE(NODE_ITER,v,b,i)
^
grammar.y:2212:40: note: in expansion of macro ‘NEW_ITER’
$$ = NEW_ITER($3, 0, extract_block_vars(vps, $5, $<vars>4));
^
grammar.y:397:60: error: ‘parser_state’ was not declared in this scope
#define PUSH_LINE(which) push_start_line((rb_parser_state*)parser_state, sourceline, which)
^
grammar.y:2217:25: note: in expansion of macro ‘PUSH_LINE’
PUSH_LINE("do");
^
In file included from grammar.y:21:0:
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:160:29: note: in expansion of macro ‘PARSER_VAR’
#define variables PARSER_VAR(variables)
^
grammar.y:2221:22: note: in expansion of macro ‘variables’
opt_block_var { $<vars>$ = variables->block_vars; }
^
grammar.y:403:53: error: ‘parser_state’ was not declared in this scope
#define POP_LINE() pop_start_line((rb_parser_state*)parser_state)
^
grammar.y:2224:25: note: in expansion of macro ‘POP_LINE’
POP_LINE();
^
In file included from grammar.y:21:0:
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:152:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_WHEN(c,t,e) NEW_NODE(NODE_WHEN,c,t,e)
^
grammar.y:2234:40: note: in expansion of macro ‘NEW_WHEN’
$$ = NEW_WHEN($2, $4, $5);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:2240:52: note: in expansion of macro ‘vps’
$$ = list_append(vps, $1, NEW_WHEN($4, 0, 0));
^
In file included from grammar.y:21:0:
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:169:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_ARRAY(a) NEW_NODE(NODE_ARRAY,a,1,0)
^
node.hpp:168:33: note: in expansion of macro ‘NEW_ARRAY’
#define NEW_LIST(a) NEW_ARRAY(a)
^
grammar.y:2244:40: note: in expansion of macro ‘NEW_LIST’
$$ = NEW_LIST(NEW_WHEN($2, 0, 0));
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:188:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_GVAR(v) NEW_NODE(NODE_GVAR,v,0,0)
^
grammar.y:2257:78: note: in expansion of macro ‘NEW_GVAR’
$3 = node_assign($3, NEW_GVAR(rb_parser_sym((rb_parser_state*) parser_state, "$!")), vps);
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:164:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_RESBODY(a,ex,n) NEW_NODE(NODE_RESBODY,n,ex,a)
^
grammar.y:2260:40: note: in expansion of macro ‘NEW_RESBODY’
$$ = NEW_RESBODY($2, $5, $6);
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:169:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_ARRAY(a) NEW_NODE(NODE_ARRAY,a,1,0)
^
node.hpp:168:33: note: in expansion of macro ‘NEW_ARRAY’
#define NEW_LIST(a) NEW_ARRAY(a)
^
grammar.y:2268:40: note: in expansion of macro ‘NEW_LIST’
$$ = NEW_LIST($1);
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:232:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_NIL() NEW_NODE(NODE_NIL,0,0,0)
^
grammar.y:2287:44: note: in expansion of macro ‘NEW_NIL’
$$ = NEW_NIL();
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:199:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_LIT(l) NEW_NODE(NODE_LIT,l,0,0)
^
grammar.y:2295:40: note: in expansion of macro ‘NEW_LIT’
$$ = NEW_LIT(QUID2SYM($1));
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:200:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_STR(s) NEW_NODE(NODE_STR,s,0,0)
^
grammar.y:2304:36: note: in expansion of macro ‘NEW_STR’
node = NEW_STR(string_new(0, 0));
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:2307:47: note: in expansion of macro ‘vps’
node = evstr2dstr(vps, node);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:2316:55: note: in expansion of macro ‘vps’
$$ = literal_concat(vps, $1, $2);
^
In file included from grammar.y:21:0:
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:202:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_XSTR(s) NEW_NODE(NODE_XSTR,s,0,0)
^
grammar.y:2330:36: note: in expansion of macro ‘NEW_XSTR’
node = NEW_XSTR(string_new(0, 0));
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
grammar.y:2341:40: note: in expansion of macro ‘NEW_NODE’
node = NEW_NODE(NODE_DXSTR, string_new(0, 0), 1, NEW_LIST(node));
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:249:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_REGEX(l,o) NEW_NODE(NODE_REGEX,l,0,o)
^
grammar.y:2354:36: note: in expansion of macro ‘NEW_REGEX’
node = NEW_REGEX(string_new2(""), options & ~RE_OPTION_ONCE);
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
grammar.y:2364:36: note: in expansion of macro ‘NEW_NODE’
node = NEW_NODE(NODE_DSTR, string_new(0, 0), 1, NEW_LIST(node));
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:170:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_ZARRAY() NEW_NODE(NODE_ZARRAY,0,0,0)
^
grammar.y:2381:40: note: in expansion of macro ‘NEW_ZARRAY’
$$ = NEW_ZARRAY();
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:2395:52: note: in expansion of macro ‘vps’
$$ = list_append(vps, $1, evstr2dstr(vps, $2));
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:2402:55: note: in expansion of macro ‘vps’
$$ = literal_concat(vps, $1, $2);
^
In file included from grammar.y:21:0:
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:170:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_ZARRAY() NEW_NODE(NODE_ZARRAY,0,0,0)
^
grammar.y:2408:40: note: in expansion of macro ‘NEW_ZARRAY’
$$ = NEW_ZARRAY();
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:2422:52: note: in expansion of macro ‘vps’
$$ = list_append(vps, $1, $2);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:2432:55: note: in expansion of macro ‘vps’
$$ = literal_concat(vps, $1, $2);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:2442:55: note: in expansion of macro ‘vps’
$$ = literal_concat(vps, $1, $2);
^
In file included from grammar.y:21:0:
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:126:29: note: in expansion of macro ‘PARSER_VAR’
#define lex_strterm PARSER_VAR(lex_strterm)
^
grammar.y:2449:40: note: in expansion of macro ‘lex_strterm’
$<node>$ = lex_strterm;
^
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:126:29: note: in expansion of macro ‘PARSER_VAR’
#define lex_strterm PARSER_VAR(lex_strterm)
^
grammar.y:2455:25: note: in expansion of macro ‘lex_strterm’
lex_strterm = $<node>2;
^
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:126:29: note: in expansion of macro ‘PARSER_VAR’
#define lex_strterm PARSER_VAR(lex_strterm)
^
grammar.y:2460:40: note: in expansion of macro ‘lex_strterm’
$<node>$ = lex_strterm;
^
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:126:29: note: in expansion of macro ‘PARSER_VAR’
#define lex_strterm PARSER_VAR(lex_strterm)
^
grammar.y:2468:25: note: in expansion of macro ‘lex_strterm’
lex_strterm = $<node>2;
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:188:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_GVAR(v) NEW_NODE(NODE_GVAR,v,0,0)
^
grammar.y:2478:21: note: in expansion of macro ‘NEW_GVAR’
string_dvar : tGVAR {$$ = NEW_GVAR($1);}
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:191:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_IVAR(v) NEW_NODE(NODE_IVAR,v,0,0)
^
grammar.y:2479:21: note: in expansion of macro ‘NEW_IVAR’
| tIVAR {$$ = NEW_IVAR($1);}
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:193:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_CVAR(v) NEW_NODE(NODE_CVAR,v,0,0)
^
grammar.y:2480:21: note: in expansion of macro ‘NEW_CVAR’
| tCVAR {$$ = NEW_CVAR($1);}
^
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:151:29: note: in expansion of macro ‘PARSER_VAR’
#define lex_state PARSER_VAR(lex_state)
^
grammar.y:2486:25: note: in expansion of macro ‘lex_state’
lex_state = EXPR_END;
^
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:151:29: note: in expansion of macro ‘PARSER_VAR’
#define lex_state PARSER_VAR(lex_state)
^
grammar.y:2499:25: note: in expansion of macro ‘lex_state’
lex_state = EXPR_END;
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:248:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_NEGATE(l) NEW_NODE(NODE_NEGATE,l,0,0)
^
grammar.y:2532:40: note: in expansion of macro ‘NEW_NEGATE’
$$ = NEW_NEGATE($2);
^
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:248:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_NEGATE(l) NEW_NODE(NODE_NEGATE,l,0,0)
^
grammar.y:2536:40: note: in expansion of macro ‘NEW_NEGATE’
$$ = NEW_NEGATE($2);
^
grammar.y:238:52: error: ‘parser_state’ was not declared in this scope
#define gettable(i) mel_gettable((rb_parser_state*)parser_state, i)
^
grammar.y:2555:40: note: in expansion of macro ‘gettable’
$$ = gettable($1);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:2561:69: note: in expansion of macro ‘vps’
$$ = assignable($1, 0, vps);
^
In file included from grammar.y:21:0:
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:151:29: note: in expansion of macro ‘PARSER_VAR’
#define lex_state PARSER_VAR(lex_state)
^
grammar.y:2575:25: note: in expansion of macro ‘lex_state’
lex_state = EXPR_BEG;
^
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:151:29: note: in expansion of macro ‘PARSER_VAR’
#define lex_state PARSER_VAR(lex_state)
^
grammar.y:2587:25: note: in expansion of macro ‘lex_state’
lex_state = EXPR_BEG;
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:2598:53: note: in expansion of macro ‘vps’
$$ = block_append(vps, NEW_ARGS((intptr_t)$1, $3, $5), $6);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:2602:53: note: in expansion of macro ‘vps’
$$ = block_append(vps, NEW_ARGS((intptr_t)$1, $3, 0), $4);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:2606:53: note: in expansion of macro ‘vps’
$$ = block_append(vps, NEW_ARGS((intptr_t)$1, 0, $3), $4);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:2610:53: note: in expansion of macro ‘vps’
$$ = block_append(vps, NEW_ARGS((intptr_t)$1, 0, 0), $2);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:2614:53: note: in expansion of macro ‘vps’
$$ = block_append(vps, NEW_ARGS(0, $1, $3), $4);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:2618:53: note: in expansion of macro ‘vps’
$$ = block_append(vps, NEW_ARGS(0, $1, 0), $2);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:2622:53: note: in expansion of macro ‘vps’
$$ = block_append(vps, NEW_ARGS(0, 0, $1), $2);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:2626:53: note: in expansion of macro ‘vps’
$$ = block_append(vps, NEW_ARGS(0, 0, 0), $1);
^
In file included from grammar.y:21:0:
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:211:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_ARGS(f,o,r) NEW_NODE(NODE_ARGS,o,r,f)
^
grammar.y:2630:40: note: in expansion of macro ‘NEW_ARGS’
$$ = NEW_ARGS(0, 0, 0);
^
grammar.y:150:57: error: ‘parser_state’ was not declared in this scope
#define yyerror(str) mel_yyerror(str, (rb_parser_state*)parser_state)
^
grammar.y:2636:25: note: in expansion of macro ‘yyerror’
yyerror("formal argument cannot be a constant");
^
grammar.y:150:57: error: ‘parser_state’ was not declared in this scope
#define yyerror(str) mel_yyerror(str, (rb_parser_state*)parser_state)
^
grammar.y:2640:25: note: in expansion of macro ‘yyerror’
yyerror("formal argument cannot be an instance variable");
^
grammar.y:150:57: error: ‘parser_state’ was not declared in this scope
#define yyerror(str) mel_yyerror(str, (rb_parser_state*)parser_state)
^
grammar.y:2644:25: note: in expansion of macro ‘yyerror’
yyerror("formal argument cannot be a global variable");
^
grammar.y:150:57: error: ‘parser_state’ was not declared in this scope
#define yyerror(str) mel_yyerror(str, (rb_parser_state*)parser_state)
^
grammar.y:2648:25: note: in expansion of macro ‘yyerror’
yyerror("formal argument cannot be a class variable");
^
grammar.y:150:57: error: ‘parser_state’ was not declared in this scope
#define yyerror(str) mel_yyerror(str, (rb_parser_state*)parser_state)
^
grammar.y:2653:29: note: in expansion of macro ‘yyerror’
yyerror("formal argument must be local variable");
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:253:34: note: in expansion of macro ‘vps’
#define local_id(i) mel_local_id(vps, i)
^
grammar.y:2654:34: note: in expansion of macro ‘local_id’
else if (local_id($1))
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:251:36: note: in expansion of macro ‘vps’
#define local_cnt(i) mel_local_cnt(vps, i)
^
grammar.y:2656:25: note: in expansion of macro ‘local_cnt’
local_cnt($1);
^
grammar.y:150:57: error: ‘parser_state’ was not declared in this scope
#define yyerror(str) mel_yyerror(str, (rb_parser_state*)parser_state)
^
grammar.y:2671:29: note: in expansion of macro ‘yyerror’
yyerror("formal argument must be local variable");
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:253:34: note: in expansion of macro ‘vps’
#define local_id(i) mel_local_id(vps, i)
^
grammar.y:2672:34: note: in expansion of macro ‘local_id’
else if (local_id($1))
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:2674:84: note: in expansion of macro ‘vps’
$$ = assignable($1, $3, vps);
^
In file included from grammar.y:21:0:
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:148:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_BLOCK(a) NEW_NODE(NODE_BLOCK,a,0,0)
^
grammar.y:2680:40: note: in expansion of macro ‘NEW_BLOCK’
$$ = NEW_BLOCK($1);
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:2685:53: note: in expansion of macro ‘vps’
$$ = block_append(vps, $1, $3);
^
grammar.y:150:57: error: ‘parser_state’ was not declared in this scope
#define yyerror(str) mel_yyerror(str, (rb_parser_state*)parser_state)
^
grammar.y:2696:29: note: in expansion of macro ‘yyerror’
yyerror("rest argument must be local variable");
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:253:34: note: in expansion of macro ‘vps’
#define local_id(i) mel_local_id(vps, i)
^
grammar.y:2697:34: note: in expansion of macro ‘local_id’
else if (local_id($2))
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:251:36: note: in expansion of macro ‘vps’
#define local_cnt(i) mel_local_cnt(vps, i)
^
grammar.y:2699:38: note: in expansion of macro ‘local_cnt’
$$ = local_cnt($2) + 1;
^
grammar.y:150:57: error: ‘parser_state’ was not declared in this scope
#define yyerror(str) mel_yyerror(str, (rb_parser_state*)parser_state)
^
grammar.y:2714:29: note: in expansion of macro ‘yyerror’
yyerror("block argument must be local variable");
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:253:34: note: in expansion of macro ‘vps’
#define local_id(i) mel_local_id(vps, i)
^
grammar.y:2715:34: note: in expansion of macro ‘local_id’
else if (local_id($2))
^
In file included from grammar.y:21:0:
parser_state.hpp:182:73: error: ‘parser_state’ was not declared in this scope
#define node_newnode(t, a, b, c) parser_node_newnode((rb_parser_state*)parser_state, t, a, b, c)
^
node.hpp:140:33: note: in expansion of macro ‘node_newnode’
#define NEW_NODE(t,a0,a1,a2) node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
^
node.hpp:217:33: note: in expansion of macro ‘NEW_NODE’
#define NEW_BLOCK_ARG(v) NEW_NODE(NODE_BLOCK_ARG,v,0,local_cnt(v))
^
grammar.y:2717:40: note: in expansion of macro ‘NEW_BLOCK_ARG’
$$ = NEW_BLOCK_ARG($2);
^
grammar.y:214:68: error: ‘parser_state’ was not declared in this scope
remove_begin(node, (rb_parser_state*)parser_state), \
^
grammar.y:2731:25: note: in expansion of macro ‘value_expr’
value_expr($$);
^
In file included from grammar.y:21:0:
parser_state.hpp:118:48: error: ‘parser_state’ was not declared in this scope
#define PARSER_STATE ((rb_parser_state*)parser_state)
^
parser_state.hpp:119:30: note: in expansion of macro ‘PARSER_STATE’
#define PARSER_VAR(var) (PARSER_STATE->var)
^
parser_state.hpp:151:29: note: in expansion of macro ‘PARSER_VAR’
#define lex_state PARSER_VAR(lex_state)
^
grammar.y:2733:6: note: in expansion of macro ‘lex_state’
| '(' {lex_state = EXPR_BEG;} expr opt_nl ')'
^
grammar.y:150:57: error: ‘parser_state’ was not declared in this scope
#define yyerror(str) mel_yyerror(str, (rb_parser_state*)parser_state)
^
grammar.y:2736:29: note: in expansion of macro ‘yyerror’
yyerror("can't define singleton method for ().");
^
grammar.y:150:57: error: ‘parser_state’ was not declared in this scope
#define yyerror(str) mel_yyerror(str, (rb_parser_state*)parser_state)
^
grammar.y:2748:33: note: in expansion of macro ‘yyerror’
yyerror("can't define singleton method for literals");
^
grammar.y:150:57: error: ‘parser_state’ was not declared in this scope
#define yyerror(str) mel_yyerror(str, (rb_parser_state*)parser_state)
^
grammar.y:2766:29: note: in expansion of macro ‘yyerror’
yyerror("odd number list for Hash");
^
grammar.y:458:32: error: ‘parser_state’ was not declared in this scope
#define vps ((rb_parser_state*)parser_state)
^
grammar.y:2781:52: note: in expansion of macro ‘vps’
$$ = list_append(vps, NEW_LIST($1), $3);
^
grammar.y:150:57: error: ‘parser_state’ was not declared in this scope
#define yyerror(str) mel_yyerror(str, (rb_parser_state*)parser_state)
^
grammar.cpp:7842:9: note: in expansion of macro ‘yyerror’
yyerror (yymsgp);
^
grammar.y:150:57: error: ‘parser_state’ was not declared in this scope
#define yyerror(str) mel_yyerror(str, (rb_parser_state*)parser_state)
^
grammar.cpp:7959:3: note: in expansion of macro ‘yyerror’
yyerror (YY_("memory exhausted"));
^
grammar.y: In function ‘int melbourne_1_1_1_1::yycompile(melbourne_1_1_1_1::rb_parser_state*, char*, int)’:
grammar.y:2861:29: error: too many arguments to function ‘int melbourne_1_1_1_1::mel_yyparse()’
n = yyparse(parser_state);
^
grammar.y:148:17: note: declared here
#define yyparse mel_yyparse
^
grammar.cpp:4033:1: note: in expansion of macro ‘yyparse’
yyparse (void)
^
Makefile:48: recipe for target 'grammar.o' failed
make: *** [grammar.o] Error 1
make failed, exit code 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment