@@ -9,12 +9,12 @@ them as a parsing error. This allows library users to handle such cases
99explicitly.
1010---
1111 src/scanner.c | 104 +++++++++++++++++++----------
12- test/corpus/expressions.txt | 33 ++++-----
12+ test/corpus/expressions.txt | 31 ++++-----
1313 test/corpus/line_continuations.txt | 3 +-
14- 3 files changed, 86 insertions(+), 54 deletions(-)
14+ 3 files changed, 85 insertions(+), 53 deletions(-)
1515
1616diff --git a/src/scanner.c b/src/scanner.c
17- index 66f3fc9..86d4135 100644
17+ index 846a5d8..4b1a626 100644
1818--- a/src/scanner.c
1919+++ b/src/scanner.c
2020@@ -41,6 +41,7 @@ typedef struct {
@@ -166,7 +166,7 @@ index 66f3fc9..86d4135 100644
166166 return result;
167167 }
168168
169- @@ -540 ,37 +561 ,41 @@ static bool scan_do_label_continue(Scanner *scanner, TSLexer *lexer, int32_t lab
169+ @@ -542 ,37 +563 ,41 @@ static bool scan_do_label_continue(Scanner *scanner, TSLexer *lexer, int32_t lab
170170 }
171171
172172 // check for label, number of boz token
@@ -215,7 +215,7 @@ index 66f3fc9..86d4135 100644
215215 }
216216
217217 static bool scan(Scanner *scanner, TSLexer *lexer, const bool *valid_symbols) {
218- @@ -627 ,8 +652 ,13 @@ static bool scan(Scanner *scanner, TSLexer *lexer, const bool *valid_symbols) {
218+ @@ -629 ,8 +654 ,13 @@ static bool scan(Scanner *scanner, TSLexer *lexer, const bool *valid_symbols) {
219219 valid_symbols[BOZ_LITERAL] ||
220220 valid_symbols[DO_LABEL] ||
221221 valid_symbols[DO_LABEL_CONTINUE]) {
@@ -231,18 +231,9 @@ index 66f3fc9..86d4135 100644
231231 }
232232
233233diff --git a/test/corpus/expressions.txt b/test/corpus/expressions.txt
234- index c6b7225..f55923b 100644
234+ index c6b7225..623668b 100644
235235--- a/test/corpus/expressions.txt
236236+++ b/test/corpus/expressions.txt
237- @@ -964,7 +964,7 @@ program test
238- iostat=istat, & ! Comment followed by line continuation
239- & iomsg=imsg)
240- ! Note trailing whitespace after line continuation on next line
241- - error &
242- + error &
243- stop
244- end program
245-
246237@@ -1048,9 +1048,11 @@ end program
247238 (variable_declaration
248239 (intrinsic_type)
0 commit comments