Updated matchcompiler to latest changes
This commit is contained in:
parent
8b9daadd25
commit
47a1122eb8
|
@ -113,8 +113,7 @@ class MatchCompiler:
|
||||||
return '(tok->type()==Token::eString)'
|
return '(tok->type()==Token::eString)'
|
||||||
elif tok == '%type%':
|
elif tok == '%type%':
|
||||||
return (
|
return (
|
||||||
'(tok->isName() && tok->varId()==0U && (tok->str() != ' +
|
'(tok->isName() && tok->varId()==0U && !tok->isKeyword())'
|
||||||
self._insertMatchStr('delete') + '/* delete */ || !Token::isCPP()))'
|
|
||||||
)
|
)
|
||||||
elif tok == '%var%':
|
elif tok == '%var%':
|
||||||
return 'tok->isName()'
|
return 'tok->isName()'
|
||||||
|
|
Loading…
Reference in New Issue