more tests

This commit is contained in:
mhoffm
2021-06-08 23:31:40 +02:00
parent 4cb4f3f142
commit 6da374befd
4 changed files with 1616 additions and 1539 deletions

View File

@@ -75,7 +75,7 @@ module.exports = grammar({
numeric_lit: $ => /[0-9]+(\.[0-9]+([eE][-+]?[0-9]+)?)?/,
string_lit: $ => seq('"', repeat(choice(/[^\\"\n]/, /\\(.|\n)/)), '"'),
string_lit: $ => (seq('"', token.immediate(repeat(choice(/[^\\"\n]/, /\\(.|\n)/))), '"')),
bool_lit: $ => choice('true', 'false'),