|
|
@ -2172,7 +2172,7 @@ _FLOAT128 = '_Float128' !IDREST &{gnu} { $$= newToken("_Float1 |
|
|
|
# input buffer from moving past it before redirecting input from the imported file |
|
|
|
|
|
|
|
metaCatch = META_AT ( m:mvalue { map_append(outputProgram, eval(globals, m)); } |
|
|
|
| m:mexp { eval(globals, m) } |
|
|
|
| m:mexp { map_append(outputProgram, m) } |
|
|
|
| META_LCB m:mstmts { map_append(outputProgram, m) } |
|
|
|
| META_IMPORT s:META_STRING ";" { inputStackPush(get(s, String, value)) } |
|
|
|
) |
|
|
@ -2181,9 +2181,9 @@ metaCatch = META_AT ( m:mvalue { map_ |
|
|
|
mvalue = i:META_IDENT { $$ = newGetVariable(i) } |
|
|
|
| META_LPAREN i:MO_OPERATION META_RPAREN { $$ = i } |
|
|
|
|
|
|
|
mexp = META_LPAREN ( i:meta_block | i:meta_exp ) META_RPAREN { $$ = i } |
|
|
|
mexp = { listBegin() } META_LPAREN ( i:meta_block | i:meta_exp ) META_RPAREN { $$ = eval(globals, listEnd()) } |
|
|
|
|
|
|
|
mstmts = { listBegin() } ( s:meta_stmt { eval(globals, s) } )* META_RCB { $$ = listEnd() } |
|
|
|
mstmts = { listBegin() } ( s:meta_stmt { eval(globals, s) } )* META_RCB { $$ = listEnd() } |
|
|
|
|
|
|
|
# oop ret = eval(globals, s); if (isReturnable(s, ret)) listAppend(ret) |
|
|
|
|
|
|
@ -2207,9 +2207,9 @@ meta_stmt = s:meta_block |
|
|
|
| e:meta_exp META_SEMICOLON { $$ = e } |
|
|
|
|
|
|
|
meta_block = META_LCB m:meta_makeMap |
|
|
|
( s:meta_stmt { map_append(m, s) } |
|
|
|
( s:meta_stmt { eval(globals, s); map_append(m, s) } |
|
|
|
) * |
|
|
|
( s:meta_exp { map_append(m, s) } |
|
|
|
( s:meta_exp { eval(globals, s); map_append(m, s) } |
|
|
|
) ? |
|
|
|
META_RCB { $$ = newBlock(m) } |
|
|
|
|
|
|
|