Don't mark error nodes created in the error state as extras

This commit is contained in:
Max Brunsfeld 2017-02-19 21:53:49 -08:00
parent c14a776a3d
commit 5b4e6df3ff
2 changed files with 8 additions and 10 deletions

View file

@ -23,20 +23,18 @@ int c;
---
(translation_unit
(preproc_ifdef
(identifier)
(ERROR (identifier) (identifier) (comment)))
(preproc_ifdef (identifier)
(ERROR (identifier) (identifier))
(comment))
(declaration (identifier) (identifier))
(preproc_ifdef
(identifier)
(preproc_ifdef (identifier)
(ERROR (storage_class_specifier) (string_literal)))
(declaration (identifier) (identifier))
(preproc_ifdef
(identifier)
(preproc_ifdef (identifier)
(ERROR))
(declaration (identifier) (identifier)))