implemented 'guard' annotation

This commit is contained in:
Araq 2014-09-21 18:39:00 +02:00
commit 7916b1f9aa
21 changed files with 267 additions and 123 deletions

View file

@ -1271,7 +1271,7 @@ proc computeSizeAux(typ: PType, a: var BiggestInt): BiggestInt =
#internalError("computeSizeAux()")
result = szUnknownSize
typ.size = result
typ.align = int(a)
typ.align = int16(a)
proc computeSize(typ: PType): BiggestInt =
var a: BiggestInt = 1