statements on strings and other builtins are now working

This commit is contained in:
David Halter
2012-04-06 18:44:35 +02:00
parent 09fcff0f91
commit af786b9924
5 changed files with 114 additions and 82 deletions
+7 -4
View File
@@ -124,10 +124,13 @@ class Parser(object):
value = '%s.%s' % (mod, value)
code += '%s = %s\n' % (name, value)
if depth == 10:
import sys
sys.stdout.write(code)
exit()
if depth == 0:
#with open('writeout.py', 'w') as f:
# f.write(code)
#import sys
#sys.stdout.write(code)
#exit()
pass
return code