Skip to content

Commit

Permalink
Tests pass
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross35 committed Jan 7, 2024
1 parent a28f59d commit 1be2321
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/scanner.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#error "expected assertions to be enabled"
#endif

#define DEBUG_PRINT
// #define DEBUG_PRINT
#ifdef DEBUG_PRINT
#define dbg_print(...) \
do { \
Expand Down
10 changes: 2 additions & 8 deletions test/corpus/statements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ foo := '''a'''
bar:= '''b
c
'''
baz := ''''
baz := '''
abc \t
def \"
'''
Expand All @@ -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)))
Expand Down
2 changes: 1 addition & 1 deletion test/highlight/statements.just
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ bar3 := '''b
'''
# <- string

baz3 := ''''
baz3 := '''
abc \t
def \"
'''
Expand Down

0 comments on commit 1be2321

Please sign in to comment.