Fix #238 crash
This commit is contained in:
parent
a63f67f685
commit
94acdeb5f1
2 changed files with 2 additions and 2 deletions
|
|
@ -1668,7 +1668,7 @@ proc addDecl(gState: State, node: TSNode) =
|
|||
commentNodes: seq[TSNode]
|
||||
|
||||
for i in start+1 ..< node.len:
|
||||
if node[i].getName() == "comment":
|
||||
if node[i].getName() in ["comment", "type_qualifier"]:
|
||||
continue
|
||||
|
||||
if firstDecl:
|
||||
|
|
|
|||
|
|
@ -129,7 +129,7 @@ type time_t* = std_time_t.Time
|
|||
|
||||
"time64_t": """
|
||||
import std/time_t as std_time64_t
|
||||
type time64_t* = std_time_t.Time
|
||||
type time64_t* = std_time64_t.Time
|
||||
""",
|
||||
|
||||
"wchar_t": """
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue