diff python/zcc.py @ 323:e9fe6988497c

Used burg for generating expressions
author Windel Bouwman
date Thu, 30 Jan 2014 19:03:24 +0100
parents 44f336460c2a
children 8f6f3ace4e78
line wrap: on
line diff
--- a/python/zcc.py	Mon Jan 27 19:58:07 2014 +0100
+++ b/python/zcc.py	Thu Jan 30 19:03:24 2014 +0100
@@ -11,6 +11,7 @@
 import outstream
 from utils import HexFile
 import target
+from target.target_list import target_list
 from ppci import irutils
 import io
 from ppci.transform import CleanPass, RemoveAddZero
@@ -112,7 +113,7 @@
         return s
 
 
-targets = {t.name: t for t in target.target_list.target_list}
+targets = {t.name: t for t in target_list}
 targetnames = list(targets.keys())
 
 # Parse arguments: