Fix a typo in the Bison grammar

Change-Id: I854b6adefca4518108a4678557c4d7f91bdaea40
This commit is contained in:
Romain Goyet
2016-03-20 10:21:51 +01:00
parent eed53079ca
commit 8e067f3f52

View File

@@ -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; }
;
%%