an addition operator, of sorts
This commit is contained in:
1 parent
2002dc1a2f
commit
fd738bface
4 files changed
+40
-2
No files matched your search
@@ -71,6 +71,13 @@ Exp ',' Exp {
|
||||
$$ = gen_both($1, $3);
|
||||
} |
|
||||
|
||||
Exp '+' Exp {
|
||||
$$ = gen_noop();
|
||||
block_append(&$$, gen_subexp($1));
|
||||
block_append(&$$, gen_subexp($3));
|
||||
block_append(&$$, gen_op_symbol(CALL_BUILTIN_3_1, "_plus"));
|
||||
} |
|
||||
|
||||
Term {
|
||||
$$ = $1;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user