Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

running wmllint agains ANL #4382

Open
sevu opened this issue Sep 23, 2019 · 1 comment

Comments

@sevu
Copy link
Member

commented Sep 23, 2019

Running wmllint against ANL discovers:

"data/multiplayer/scenarios/4p_A_New_Land.cfg", line 448: side number 5 is out of sequence (11 expected)
"data/multiplayer/scenarios/4p_A_New_Land.cfg", line 452: side number 5 is out of sequence (11 expected)
"data/multiplayer/scenarios/4p_A_New_Land.cfg", line 476: side number 6 is out of sequence (11 expected)
"data/multiplayer/scenarios/4p_A_New_Land.cfg", line 480: side number 6 is out of sequence (11 expected)
"data/multiplayer/scenarios/4p_A_New_Land.cfg", line 504: side number 7 is out of sequence (11 expected)
"data/multiplayer/scenarios/4p_A_New_Land.cfg", line 508: side number 7 is out of sequence (11 expected)
"data/multiplayer/scenarios/4p_A_New_Land.cfg", line 532: side number 8 is out of sequence (11 expected)
"data/multiplayer/scenarios/4p_A_New_Land.cfg", line 536: side number 8 is out of sequence (11 expected)
"data/multiplayer/scenarios/4p_A_New_Land.cfg", line 769: side number 1 is out of sequence (11 expected)
"data/multiplayer/scenarios/4p_A_New_Land.cfg", line 782: side number 2 is out of sequence (11 expected)
"data/multiplayer/scenarios/4p_A_New_Land.cfg", line 795: side number 3 is out of sequence (11 expected)
"data/multiplayer/scenarios/4p_A_New_Land.cfg", line 808: side number 4 is out of sequence (11 expected)

This points to side= in tags like [store_side] or [modify_side] inside [event]s.
I suspect this is a bug in wmllint.

Also still happening if one deletes all the preprocessor directives (macro-usage, defines, ifdefs)

@gfgtdf

This comment has been minimized.

Copy link
Contributor

commented Sep 24, 2019

honestly, i think we should move the ANL code to lua anyways if we find time to do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.