Add type identifier as ignored too
This commit is contained in:
parent
baaba7881b
commit
8c763fc4d3
1 changed files with 1 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ proc newConstDef(gState: State, node: TSNode, fname = "", fval = ""): PNode =
|
|||
if not maybeTyNode.isNil:
|
||||
let name = maybeTyNode.getName()
|
||||
case name
|
||||
of "type_descriptor", "sized_type_specifier", "primitive_type":
|
||||
of "type_descriptor", "sized_type_specifier", "primitive_type", "type_identifier":
|
||||
discard
|
||||
else:
|
||||
# Can't do gState.parseCExpression(root) here for some reason?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue