vpc_parser: fix python2 compatibility again
This commit is contained in:
parent
31586ce622
commit
1b98e8994e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user