Skip to content

Fix additional overrun issues in the LateX lexer#358

Open
stloeffler wants to merge 4 commits into
ScintillaOrg:masterfrom
stloeffler:fix-latex-overruns
Open

Fix additional overrun issues in the LateX lexer#358
stloeffler wants to merge 4 commits into
ScintillaOrg:masterfrom
stloeffler:fix-latex-overruns

Conversation

@stloeffler
Copy link
Copy Markdown
Contributor

No description provided.

@nyamatongwe nyamatongwe added the latex Caused by the LaTeX lexer. #9C7051 label Apr 19, 2026
@nyamatongwe
Copy link
Copy Markdown
Member

There are 7 'NoNewline*.tex' files handling different conditions. This will be difficult to understand for maintainers if additional problems occur. The condition being checked by a file should be indicated either by a comment in the example file or in the file name. Something like "Checks for file end after special character inside SCE_L_MATH2".

from NoNewline* to EndOfFile* to better reflect what the test case
actually tests
@stloeffler
Copy link
Copy Markdown
Contributor Author

Thanks for the suggestion, I added comments to the test cases (and renamed the files to better reflect their purpose).

nyamatongwe pushed a commit that referenced this pull request May 1, 2026
@nyamatongwe nyamatongwe added the committed Issue fixed in repository but not in release label May 1, 2026
@nyamatongwe
Copy link
Copy Markdown
Member

Committed squashed with a0bc11e.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

committed Issue fixed in repository but not in release latex Caused by the LaTeX lexer. #9C7051

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants