diff options
| author | Mel <einebeere@gmail.com> | 2021-11-10 20:49:55 +0100 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2021-11-10 20:49:55 +0100 |
| commit | 799afd5b71aaf41a59a8569a9e24945b4df60b7c (patch) | |
| tree | 9545c89fd921d890c258617744280ce4b5656cd5 /grammar.ebnf | |
| parent | 03c7532413cb1a2f00f407fc1be454bed1ebe079 (diff) | |
| download | rabbithole-799afd5b71aaf41a59a8569a9e24945b4df60b7c.tar.zst rabbithole-799afd5b71aaf41a59a8569a9e24945b4df60b7c.zip | |
Typo in spec
Diffstat (limited to 'grammar.ebnf')
| -rw-r--r-- | grammar.ebnf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grammar.ebnf b/grammar.ebnf index 3e7f093..d87d1f2 100644 --- a/grammar.ebnf +++ b/grammar.ebnf @@ -20,7 +20,7 @@ Expression = AssignmentExpression; (* Expressions affected by precedence*) (* NOTE: Only allow IDENTIFIERs and their fields as the LValue for now. *) -AssignmentExpression = IDENTIFIER {"." IDENTIFIER} ("=" | ":=") AssignmentExpression | EqualityExpression; +AssignmentExpression = IDENTIFIER {"." IDENTIFIER} ("=" | ":=") AssignmentExpression | OrExpression; OrExpression = AndExpression { "||" AndExpression }; AndExpression = EqualityExpression { "&&" EqualityExpression }; EqualityExpression = ComparisonExpression { ("==" | "!=") ComparisonExpression }; |
