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

Fix wmlindent quote detection #6764

Merged
merged 3 commits into from Jun 18, 2022
Merged

Fix wmlindent quote detection #6764

merged 3 commits into from Jun 18, 2022

Conversation

CelticMinstrel
Copy link
Member

There's been a persistent wmlindent warning in the CI logs for awhile now, so I thought I'd fix it. This prevents wmlindent from treating commented-out quotes as opening or closing a string.

I also removed several ignore directives that were clear workarounds for the bug, as well as a clearly-pointless pair in terrain-graphics.cfg. As you can see, there are no actual changes in the wmlindent run as a result, other than the removal of trailing whitespace.

@github-actions github-actions bot added AI Issues with the AI engine, including micro AIs. Terrain Issues that involve terrain definitions or their implementation in the engine. Units Issues that involve unit definitions or their implementation in the engine. WML Tools Issues involving WML maintenance tools. labels Jun 11, 2022
@Elvish-Hunter Elvish-Hunter merged commit 473c6e4 into master Jun 18, 2022
@CelticMinstrel CelticMinstrel deleted the wmlindent_fix branch June 18, 2022 16:44
CelticMinstrel added a commit that referenced this pull request Jun 18, 2022
* wmlindent: Fix parsing quotes in comments

* Remove unnecessary wmlindent ignores

* Run wmlindent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AI Issues with the AI engine, including micro AIs. Terrain Issues that involve terrain definitions or their implementation in the engine. Units Issues that involve unit definitions or their implementation in the engine. WML Tools Issues involving WML maintenance tools.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants