diff options
-rw-r--r-- | doc/mylang.ebnf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/mylang.ebnf b/doc/mylang.ebnf index 6945557..0ab786d 100644 --- a/doc/mylang.ebnf +++ b/doc/mylang.ebnf @@ -13,7 +13,7 @@ join = join "&&" equality | equality. equality = equality "==" relation | equality "!=" relation | relation. relation = expression "<" expression | expression "<=" expression | expression ">=" expression | expression ">" expression | expression. expression = expression "+" term | expression "-" term | term. -term = term "*" unary | term "/" unary | unary. +term = term "*" unary | term "/" unary | term "%" unary | unary. unary = "!" unary | "-" unary | factor. factor = "(" bool ")" | ident | integer | "true" | "false". |