mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-04 18:09:53 +03:00
vpc_parser: fix python2 compatibility again
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user