removed "then" from if statement

This commit is contained in:
Marvin Kaiser
2019-10-29 10:32:17 +01:00
parent d43fa90bc3
commit dfefee8a71
7 changed files with 102 additions and 117 deletions

View File

@@ -22,7 +22,7 @@ print
;
if_statement
: IF expression THEN braced_block (ELSE braced_block)?
: IF expression braced_block (ELSE braced_block)?
;
expression
@@ -43,7 +43,6 @@ atom
PRINT: 'print';
IF: 'if';
THEN: 'then';
ELSE: 'else';
SCOL: ';';