From e5f4f7b85fbb91a293a7d89d7b85adfbaeeb51f4 Mon Sep 17 00:00:00 2001 From: Thalia Archibald Date: Fri, 21 Jun 2024 06:13:09 -0700 Subject: Format whitespace (#86) * Trim trailing whitespace * Ensure final new lines * Convert line endings from CRLF to LF * Replace tabs with spaces --- chapter02/docs/02-grammar.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'chapter02/docs/02-grammar.md') 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 + ; +``` -- cgit v1.2.3