diff options
author | Andreas Rumpf <andreas@andreas-laptop> | 2010-07-21 22:09:50 +0200 |
---|---|---|
committer | Andreas Rumpf <andreas@andreas-laptop> | 2010-07-21 22:09:50 +0200 |
commit | 202d229fdf62600e1247b0ba07fa5f30aed06063 (patch) | |
tree | 9706e9952ae573052836a1b638b2bb03db5485dd /rod/c2nim/cparse.nim | |
parent | cdf03b06b93d8bf5023d7c4b38a761675a20d514 (diff) | |
download | Nim-202d229fdf62600e1247b0ba07fa5f30aed06063.tar.gz |
bugfix: c2nim: typedef a b;
Diffstat (limited to 'rod/c2nim/cparse.nim')
-rwxr-xr-x | rod/c2nim/cparse.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rod/c2nim/cparse.nim b/rod/c2nim/cparse.nim index b637bfa61..f5e6c95f8 100755 --- a/rod/c2nim/cparse.nim +++ b/rod/c2nim/cparse.nim @@ -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) |