vpc_parser: fix python2 compatibility again

This commit is contained in:
nillerusr 2021-11-05 10:53:29 +03:00
parent 31586ce622
commit 1b98e8994e

View File

@ -38,7 +38,7 @@ def compute_statement( defines, statement ):
for token in token_list:
r = token.search(statement, pos)
if r and r.start() == pos:
l += [r[0]]
l += [r.group(0)]]
pos = r.end()
k = 0