Retain information about the lexer's lookahead for the token where an error was detected
This commit is contained in:
parent
0bdd9b640c
commit
0fb864c1a0
2 changed files with 101 additions and 96 deletions
4
test/fixtures/error_corpus/c_errors.txt
vendored
4
test/fixtures/error_corpus/c_errors.txt
vendored
|
|
@ -128,8 +128,8 @@ int main() {
|
|||
(declaration (primitive_type) (init_declarator
|
||||
(identifier)
|
||||
(parenthesized_expression
|
||||
(number_literal)
|
||||
(ERROR (number_literal))))))))
|
||||
(ERROR (number_literal))
|
||||
(number_literal)))))))
|
||||
|
||||
========================================
|
||||
Extra identifiers in declarations
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue