Add missing sized type specifier for 'long int', etc
This commit is contained in:
parent
de079bb9f0
commit
a2b1acc5c8
1 changed files with 1 additions and 1 deletions
|
|
@ -494,7 +494,7 @@ proc processTSNode(exprParser: ExprParser, node: TSNode, typeofNode: var PNode):
|
|||
# Why are these node types named true/false?
|
||||
of "true", "false":
|
||||
result = exprParser.state.parseString(node.val)
|
||||
of "type_descriptor":
|
||||
of "type_descriptor", "sized_type_specifier":
|
||||
let ty = getType(node.val)
|
||||
result = exprParser.getIdent(ty, nskType, parent=node.getName())
|
||||
if result.kind == nkNone:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue