From 23daaf1372863949e2fccebafd25a0d973716d54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20B=C3=B6hm?= Date: Mon, 25 May 2009 18:46:22 +0200 Subject: add modulus operator --- doc/mylang.ebnf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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". -- cgit v1.2.3