diff modules/ast.tp @ 310:2308336790d4

WIP compiler module for low-level dialect
author Michael Pavone <pavone@retrodev.com>
date Fri, 01 Aug 2014 18:56:39 -0700
parents 98147071baf6
children 27477c8c2823
line wrap: on
line diff
--- a/modules/ast.tp	Fri Aug 01 18:55:01 2014 -0700
+++ b/modules/ast.tp	Fri Aug 01 18:56:39 2014 -0700
@@ -66,6 +66,7 @@
 				val <- _val
 				base <- _base
 				bits <- _bits
+				size <- { _bits / 8 }
 				signed? <- _signed?
 				stringIndent <- :indent {
 					suffix <- ""