From 52d820ad7b3d7448e2e5a088fce37c9517d99677 Mon Sep 17 00:00:00 2001 From: Alessandro Coglio Date: Fri, 1 Apr 2022 21:25:37 -0700 Subject: [PATCH] [ABNF] Also remove rule for expression statements. Expression statements were removed from the rule for statements, but the rule for expression statements itself had not been removed. This commit fixes that. --- docs/grammar/abnf-grammar.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/grammar/abnf-grammar.txt b/docs/grammar/abnf-grammar.txt index 3dd7db8716..ba86642858 100644 --- a/docs/grammar/abnf-grammar.txt +++ b/docs/grammar/abnf-grammar.txt @@ -274,8 +274,6 @@ statement = return-statement block = "{" *statement "}" -expression-statement = expression ";" - return-statement = %s"return" expression ";" variable-declaration = %s"let" identifier ":" type "=" expression ";"