bugfix: c2nim: typedef a b;

This commit is contained in:
Andreas Rumpf 2010-07-21 22:09:50 +02:00
commit 202d229fdf
4 changed files with 10 additions and 4 deletions

View file

@ -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)