Remove 'document' wrapper node
This commit is contained in:
parent
6933d7b425
commit
21258e6a9e
23 changed files with 165 additions and 136 deletions
|
|
@ -325,8 +325,6 @@ class CCodeGenerator {
|
|||
return "ts_builtin_sym_error";
|
||||
else if (symbol == rules::END_OF_INPUT())
|
||||
return "ts_builtin_sym_end";
|
||||
else if (symbol == rules::DOCUMENT())
|
||||
return "ts_builtin_sym_document";
|
||||
else
|
||||
return "";
|
||||
} else {
|
||||
|
|
@ -344,8 +342,6 @@ class CCodeGenerator {
|
|||
return "ERROR";
|
||||
else if (symbol == rules::END_OF_INPUT())
|
||||
return "END";
|
||||
else if (symbol == rules::DOCUMENT())
|
||||
return "DOCUMENT";
|
||||
else
|
||||
return "";
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue