X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=syntax.cf;h=d09a25c33849d524632a0b352994da59b2cf60b6;hb=2316d61f350f8b39c9a3f76b91d1d14796d5183b;hp=313fa556810e0dff5de9602959cdb74cd81073b5;hpb=6103c0359b95557566aa9154efa5bcd4d9c996f6;p=proglang.git diff --git a/syntax.cf b/syntax.cf index 313fa55..d09a25c 100644 --- a/syntax.cf +++ b/syntax.cf @@ -30,7 +30,7 @@ define postDecr i = EPost i Minus ; EVar. Exp3 ::= Ident ; EInt. Exp3 ::= Integer ; ENeg. Exp3 ::= "-" Exp3 ; --- ENot. Exp3 ::= "!" Exp3 ; +ENot. Exp3 ::= "!" Exp3 ; EBool. Exp3 ::= Bool ; EReadI. Exp3 ::= "readInt" ; EReadB. Exp3 ::= "readBool" ; @@ -63,7 +63,7 @@ _. Op ::= Op0; -TInt. Type ::= "int" ; +TInt. Type ::= "int" ; TBool. Type ::= "bool" ; -- pragmas