diff options
author | William Langford <wlangfor@gmail.com> | 2014-08-05 13:41:59 -0400 |
---|---|---|
committer | William Langford <wlangfor@gmail.com> | 2014-08-05 13:41:59 -0400 |
commit | ef5bd5a6de10657430a438955a83a7bb99a8468a (patch) | |
tree | 991319294488bebdcb6109f095c9dec4a9669348 /parser.y | |
parent | 2159f9f5e06cd701f58a3ea6709d42a574cc280b (diff) | |
parent | a25950a58c4f16692df98695eb870c414726e363 (diff) |
Merge pull request #532 from wtlangford/top-removal
Remove duplicate TOP insertions, drop unused defs.
Diffstat (limited to 'parser.y')
-rw-r--r-- | parser.y | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -278,10 +278,7 @@ FuncDef FuncDefs { Exp: FuncDef Exp %prec ';' { - if (block_is_funcdef($2)) - $$ = block_bind($1, $2, OP_IS_CALL_PSEUDO); - else - $$ = block_bind($1, BLOCK(gen_op_simple(TOP), $2), OP_IS_CALL_PSEUDO); + $$ = block_bind_referenced($1, $2, OP_IS_CALL_PSEUDO); } | Term "as" '$' IDENT '|' Exp { |