Update c error recovery test to reflect behavior change
This commit is contained in:
parent
8835dfda99
commit
a8d77001c2
1 changed files with 13 additions and 5 deletions
18
test/fixtures/error_corpus/c_errors.txt
vendored
18
test/fixtures/error_corpus/c_errors.txt
vendored
|
|
@ -158,9 +158,17 @@ int a() {
|
|||
(translation_unit
|
||||
(function_definition
|
||||
(primitive_type)
|
||||
(function_declarator (identifier) (parameter_list))
|
||||
(function_declarator
|
||||
(identifier)
|
||||
(parameter_list))
|
||||
(compound_statement
|
||||
(struct_specifier (type_identifier))
|
||||
(ERROR (number_literal))
|
||||
(primitive_type)
|
||||
(ERROR (number_literal)))))
|
||||
(declaration
|
||||
(struct_specifier (type_identifier))
|
||||
(init_declarator
|
||||
(MISSING identifier)
|
||||
(number_literal)))
|
||||
(declaration
|
||||
(primitive_type)
|
||||
(init_declarator
|
||||
(MISSING identifier)
|
||||
(number_literal))))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue