Permalink
Browse files

add null rule in JSON.nqp

  • Loading branch information...
1 parent b3c70cd commit de0365c9d9d9605d8b6134a6ac9aaf4191f8c728 Gerd Pokorra committed Mar 7, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 compilers/data_json/JSON.nqp
@@ -74,6 +74,10 @@ grammar JSON::Grammar is HLL::Grammar {
'false'
}
+ rule value:sym<null> {
+ 'null'
+ }
+
token string {
<?["]> <quote_EXPR: ':qq'>
}

0 comments on commit de0365c

Please sign in to comment.