diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-08-25 20:38:36 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-08-25 20:38:36 +0200 |
commit | 7272a2d7ee0876e4e92fa352ce6f240c040b7f50 (patch) | |
tree | 837292f93d6974c613f9c722fbb128f760131e81 /parser.y | |
parent | 58450742953e8782c546a42ab541d601c6abc856 (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.y | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; } |