diff options
Diffstat (limited to 'chapter02/docs/02-grammar.md')
| -rw-r--r-- | chapter02/docs/02-grammar.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chapter02/docs/02-grammar.md b/chapter02/docs/02-grammar.md index 1a1e1239..ce875eda 100644 --- a/chapter02/docs/02-grammar.md +++ b/chapter02/docs/02-grammar.md @@ -14,11 +14,11 @@ statement expression : additiveExpression ; - + additiveExpression - : multiplicativeExpression (('+' | '-') multiplicativeExpression)* + : multiplicativeExpression (('+' | '-') multiplicativeExpression)* ; - + multiplicativeExpression : unaryExpression (('*' | '/') unaryExpression)* ; @@ -36,5 +36,5 @@ primaryExpression INTEGER_LITERAL : [1-9][0-9]* | [0] - ; -```
\ No newline at end of file + ; +``` |
