give a more descriptive error message
This commit is contained in:
parent
17f61d9822
commit
e542a2adac
1 changed files with 1 additions and 1 deletions
|
@ -746,7 +746,7 @@ def hack_syntax(filename, lines):
|
||||||
# Check for duplicated attack names -- may be a result of a naive
|
# Check for duplicated attack names -- may be a result of a naive
|
||||||
# boucman conversion.
|
# boucman conversion.
|
||||||
if boucmanized:
|
if boucmanized:
|
||||||
name_pos = wmlfind("name=", WmlIterator(lines))
|
name_pos = wmlfind("name=", WmlIterator(lines, filename))
|
||||||
duplist = {}
|
duplist = {}
|
||||||
while name_pos is not None:
|
while name_pos is not None:
|
||||||
key = lines[name_pos.lineno].strip()
|
key = lines[name_pos.lineno].strip()
|
||||||
|
|
Loading…
Add table
Reference in a new issue