Browse Source

vpc_parser: fix python2 compatibility again

pull/27/head
nillerusr 3 years ago
parent
commit
1b98e8994e
  1. 2
      scripts/waifulib/vpc_parser.py

2
scripts/waifulib/vpc_parser.py

@ -38,7 +38,7 @@ def compute_statement( defines, statement ): @@ -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…
Cancel
Save