implement bitsize pragma for bitfields

This commit is contained in:
Aman Gupta 2015-09-28 14:34:36 -07:00
commit 5e9ce88daf
5 changed files with 18 additions and 1 deletions

View file

@ -82,6 +82,7 @@ type
wStdIn, wStdOut, wStdErr,
wInOut, wByCopy, wByRef, wOneWay,
wBitsize,
TSpecialWords* = set[TSpecialWord]
@ -168,6 +169,7 @@ const
"stdin", "stdout", "stderr",
"inout", "bycopy", "byref", "oneway",
"bitsize",
]
proc findStr*(a: openArray[string], s: string): int =