Updated matchcompiler to support %cop%
This commit is contained in:
parent
0a7fafa319
commit
2ad38c8701
|
@ -89,6 +89,8 @@ class MatchCompiler:
|
|||
return 'tok->isComparisonOp()'
|
||||
elif tok == '%num%':
|
||||
return 'tok->isNumber()'
|
||||
elif tok == '%cop%':
|
||||
return 'tok->isConstOp()'
|
||||
elif tok == '%op%':
|
||||
return 'tok->isOp()'
|
||||
elif tok == '%or%':
|
||||
|
|
Loading…
Reference in New Issue