mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
Fix a typo in the Bison grammar
Change-Id: I854b6adefca4518108a4678557c4d7f91bdaea40
This commit is contained in:
@@ -85,7 +85,7 @@ exp:
|
||||
| exp MULTIPLY exp { $$ = new Product($1,$3); }
|
||||
| exp DIVIDE exp { $$ = new Fraction($1,$3); }
|
||||
| exp POW exp { $$ = new Power($1,$3); }
|
||||
| LEFT_PARENTHESIS exp RIGHT_PARENTHESIS { $$ = $2 }
|
||||
| LEFT_PARENTHESIS exp RIGHT_PARENTHESIS { $$ = $2; }
|
||||
;
|
||||
|
||||
%%
|
||||
|
||||
Reference in New Issue
Block a user