mirror of
https://github.com/nillerusr/source-engine.git
synced 2025-02-10 14:14:16 +00:00
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:
|
for token in token_list:
|
||||||
r = token.search(statement, pos)
|
r = token.search(statement, pos)
|
||||||
if r and r.start() == pos:
|
if r and r.start() == pos:
|
||||||
l += [r[0]]
|
l += [r.group(0)]]
|
||||||
pos = r.end()
|
pos = r.end()
|
||||||
|
|
||||||
k = 0
|
k = 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user