diff --git a/src/scanner.c b/src/scanner.c index 6cd46ed..6faba0a 100644 --- a/src/scanner.c +++ b/src/scanner.c @@ -9,7 +9,7 @@ #error "expected assertions to be enabled" #endif -#define DEBUG_PRINT +// #define DEBUG_PRINT #ifdef DEBUG_PRINT #define dbg_print(...) \ do { \ diff --git a/test/corpus/statements.txt b/test/corpus/statements.txt index f29e55a..93def52 100644 --- a/test/corpus/statements.txt +++ b/test/corpus/statements.txt @@ -228,7 +228,7 @@ foo := '''a''' bar:= '''b c ''' -baz := '''' +baz := ''' abc \t def \" ''' @@ -255,15 +255,9 @@ baz := '''' (item (assignment (identifier) - (ERROR - (identifier) - (escape_sequence) - (identifier) - (escape_sequence)) (expression (value - (raw_string_literal - (MISSING _raw_string_end)))) + (raw_string_literal))) (eol))) (item (eol))) diff --git a/test/highlight/statements.just b/test/highlight/statements.just index 3775d0e..03b13c1 100644 --- a/test/highlight/statements.just +++ b/test/highlight/statements.just @@ -102,7 +102,7 @@ bar3 := '''b ''' # <- string -baz3 := '''' +baz3 := ''' abc \t def \" '''