Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
NaridaL authored May 14, 2021
1 parent e6c1f2a commit 93aa527
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ class Calculator extends EmbeddedActionsParser {

$.RULE("atomicExpression", () => {
return $.OR([
// categorieshesisExpression has the highest precedence and thus it appears
// parenthesisExpression has the highest precedence and thus it appears
// in the "lowest" leaf in the expression ParseTree.
{ ALT: () => $.SUBRULE($.parenthesisExpression) },
{ ALT: () => parseInt($.CONSUME(NumberLiteral).image, 10) },
Expand Down

0 comments on commit 93aa527

Please sign in to comment.