comparison python/zcc.py @ 322:44f336460c2a

Half of use of burg spec for arm
author Windel Bouwman
date Mon, 27 Jan 2014 19:58:07 +0100
parents e84047f29c78
children e9fe6988497c
comparison
equal deleted inserted replaced
321:8c569fbe60e4 322:44f336460c2a
110 print('', file=f) 110 print('', file=f)
111 s += '\n' + f.getvalue() 111 s += '\n' + f.getvalue()
112 return s 112 return s
113 113
114 114
115 target_list = [target.armtarget] 115 targets = {t.name: t for t in target.target_list.target_list}
116 targets = {t.name: t for t in target_list}
117 targetnames = list(targets.keys()) 116 targetnames = list(targets.keys())
118 117
119 # Parse arguments: 118 # Parse arguments:
120 parser = argparse.ArgumentParser(description='lcfos Compiler') 119 parser = argparse.ArgumentParser(description='lcfos Compiler')
121 parser.add_argument('source', type=argparse.FileType('r'), \ 120 parser.add_argument('source', type=argparse.FileType('r'), \