Match compiler: No need to handle %num% twice

This commit is contained in:
Thomas Jarosch 2012-12-30 20:33:49 +01:00
parent 4378357d7e
commit fe5ee76165
1 changed files with 0 additions and 2 deletions

View File

@ -20,8 +20,6 @@ def compileCmd(tok):
return '(tok->str()=="|")' return '(tok->str()=="|")'
elif tok == '%oror%': elif tok == '%oror%':
return '(tok->str()=="||")' return '(tok->str()=="||")'
elif tok == '%num%':
return 'tok->isNumber()'
elif tok == '%str%': elif tok == '%str%':
return '(tok->type()==Token::eString)' return '(tok->type()==Token::eString)'
elif tok == '%type%': elif tok == '%type%':