mirror of
https://github.com/carp-lang/Carp.git
synced 2024-09-11 13:37:57 +03:00
Update headerparse to use ConcreteNameTys
This commit is contained in:
parent
8dbdb73c1a
commit
3a1a39f496
@ -173,7 +173,7 @@ cTypeToCarpType ("long", 0) = LongTy
|
||||
cTypeToCarpType ("double", 0) = DoubleTy
|
||||
cTypeToCarpType ("float", 0) = FloatTy
|
||||
cTypeToCarpType ("void", 0) = UnitTy
|
||||
cTypeToCarpType (s, 0) = (StructTy s [])
|
||||
cTypeToCarpType (s, 0) = (StructTy (ConcreteNameTy s) [])
|
||||
cTypeToCarpType (x, stars) = (PointerTy (cTypeToCarpType (x, stars - 1)))
|
||||
|
||||
identifierChar :: Parsec.Parsec String () Char
|
||||
|
Loading…
Reference in New Issue
Block a user