'+=' etc for all floating point types

This commit is contained in:
Araq 2012-05-29 00:42:28 +02:00
commit b5d8e8bfaa
6 changed files with 21 additions and 13 deletions

View file

@ -144,7 +144,7 @@ proc mapSetType(typ: PType): TCTypeKind =
proc mapType(typ: PType): TCTypeKind =
case typ.kind
of tyNone: result = ctVoid
of tyNone, tyStmt: result = ctVoid
of tyBool: result = ctBool
of tyChar: result = ctChar
of tySet: result = mapSetType(typ)