parser decorators

This commit is contained in:
David Halter
2012-03-05 23:04:11 +01:00
parent 057731916f
commit 8d85154fe9
3 changed files with 47 additions and 25 deletions

View File

@@ -56,11 +56,12 @@ c = a or c
class Empty():
pass
#def blub():
def blub():
cdef = 5
cdef cdef
for i in range(3):
if 1:if 2:for a in range(3): exec a
asdf = aaa
print 'blub'
else:
@@ -81,6 +82,7 @@ def ass_test(a):
return result
matrix = [[1,2,3], [4,5,6], [7,8,9]]
@property
def flow_test(a):
global matrix
for i in matrix: