add a null literal

This commit is contained in:
2020-02-14 14:10:23 +01:00
parent 5c0459c5a2
commit 9d83e5425d

View File

@@ -98,6 +98,7 @@ atom
: INTEGER_LITERAL #intAtom
| BOOLEAN_LITERAL #boolAtom
| FLOAT_LITERAL #floatAtom
| NULL # nullAtom
| IDENT #variable
;
@@ -145,6 +146,7 @@ WHILE: 'while';
DO: 'do';
FOR: 'for';
CREATE: 'create';
NULL: 'naught';
PERIOD: '.';
COL: ':';