- Fixed tokenize_select that was not providing level prop for the tokens anymore

git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@257 014f5005-505e-4b48-8d0a-63407b615a7c
This commit is contained in:
LtWorf
2010-10-06 12:31:48 +00:00
parent 25c4c894c2
commit 8224033881
3 changed files with 16 additions and 2 deletions

View File

@@ -326,6 +326,17 @@ def tokenize_select(expression):
except:
pass
level=0
for i in range(len(l)):
l[i]=level_string(l[i])
l[i].level=level
if l[i]=='(':
level+=1
elif l[i]==')':
level-=1
return l
def swap_rename_projection(n):