summaryrefslogtreecommitdiffhomepage
path: root/parser.y
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-08-25 20:38:36 +0200
committerJo-Philipp Wich <jo@mein.io>2020-08-25 20:38:36 +0200
commit7272a2d7ee0876e4e92fa352ce6f240c040b7f50 (patch)
tree837292f93d6974c613f9c722fbb128f760131e81 /parser.y
parent58450742953e8782c546a42ab541d601c6abc856 (diff)
treewide: add proper null value handling
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'parser.y')
-rw-r--r--parser.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/parser.y b/parser.y
index 204b091..1f7487b 100644
--- a/parser.y
+++ b/parser.y
@@ -260,6 +260,7 @@ primary_exp(A) ::= T_NUMBER(B). { A = B; }
primary_exp(A) ::= T_DOUBLE(B). { A = B; }
primary_exp(A) ::= T_STRING(B). { A = B; }
primary_exp(A) ::= T_LABEL(B). { A = B; }
+primary_exp(A) ::= T_NULL(B). { A = B; }
primary_exp(A) ::= T_THIS(B). { A = B; }
primary_exp(A) ::= array(B). { A = B; }
primary_exp(A) ::= object(B). { A = B; }