bugfix: c2nim: typedef a b;
This commit is contained in:
parent
cdf03b06b9
commit
202d229fdf
4 changed files with 10 additions and 4 deletions
|
|
@ -583,6 +583,7 @@ proc otherTypeDef(p: var TParser, section, typ: PNode) =
|
|||
name = skipIdent(p)
|
||||
else:
|
||||
# typedef typ name;
|
||||
t = typ
|
||||
name = skipIdent(p)
|
||||
t = parseTypeSuffix(p, t)
|
||||
addTypeDef(section, name, t)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue