X-Git-Url: https://ruin.nu/git/?p=proglang.git;a=blobdiff_plain;f=syntax.cf;h=d09a25c33849d524632a0b352994da59b2cf60b6;hp=313fa556810e0dff5de9602959cdb74cd81073b5;hb=4f21d932178a490040cf5e054f3ba9d006579368;hpb=6103c0359b95557566aa9154efa5bcd4d9c996f6 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