[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.
This commit is contained in:
Alessandro Coglio 2022-04-01 21:25:37 -07:00
parent a1c0932f3e
commit 52d820ad7b

View File

@ -274,8 +274,6 @@ statement = return-statement
block = "{" *statement "}"
expression-statement = expression ";"
return-statement = %s"return" expression ";"
variable-declaration = %s"let" identifier ":" type "=" expression ";"