summary refs log tree commit diff stats
path: root/compiler/ast.nim
diff options
context:
space:
mode:
authorAman Gupta <aman@tmm1.net>2015-09-28 14:34:36 -0700
committerAman Gupta <aman@tmm1.net>2015-09-28 14:34:36 -0700
commit5e9ce88dafbaa0bf72a7c7c3ce11a8d827ab3200 (patch)
tree722917ba0aba672d40faeebe72d6034c49e9f15f /compiler/ast.nim
parentbb7604c06fb2adc6999d47fdfcbf9cf2979bef9e (diff)
downloadNim-5e9ce88dafbaa0bf72a7c7c3ce11a8d827ab3200.tar.gz
implement bitsize pragma for bitfields
Diffstat (limited to 'compiler/ast.nim')
-rw-r--r--compiler/ast.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/ast.nim b/compiler/ast.nim
index 4001e896e..9db5a4e34 100644
--- a/compiler/ast.nim
+++ b/compiler/ast.nim
@@ -784,6 +784,7 @@ type
       tab*: TStrTable         # interface table for modules
     of skLet, skVar, skField, skForVar:
       guard*: PSym
+      bitsize*: BiggestInt
     else: nil
     magic*: TMagic
     typ*: PType