assign
This commit is contained in:
parent
e576ade39b
commit
ac0abb97c6
1 changed files with 1 additions and 0 deletions
|
|
@ -70,6 +70,7 @@ stmt_list:
|
||||||
|
|
||||||
stmt:
|
stmt:
|
||||||
expr NEWLINE { $$ = std::make_unique<ExprStmt>(std::move($1)); }
|
expr NEWLINE { $$ = std::make_unique<ExprStmt>(std::move($1)); }
|
||||||
|
| expr ASSIGN expr NEWLINE { $$ = std::make_unique<Assign>(std::move($1), std::move($3));}
|
||||||
;
|
;
|
||||||
|
|
||||||
expr:
|
expr:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue