Skip to content

Conversation

@DecimalTurn
Copy link
Contributor

@DecimalTurn DecimalTurn commented Jan 14, 2025

This PR allows Rem comments (aka. remarks) to support comment blocks as it is currently supported in the VBE.
Note that I had to change the order of the include statements to avoid remarkComments taking over.

I've also added support for the case where a line number preceeds the Rem comment.

Regarding the unit tests, I've used ' as the comment token, but I can change it to // if needed.
Also note I'm using the negation pattern with - comment.line.remark.vba for the line Rem Comment at the end of a line since it's not supported.

@SSlinky SSlinky merged commit afa3a66 into SSlinky:master Jan 16, 2025
3 checks passed
@SSlinky
Copy link
Owner

SSlinky commented Jan 16, 2025

Thanks for this. Good change, and I appreciate the unit tests.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants