-
Notifications
You must be signed in to change notification settings - Fork 67
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
LexPascal: Styling improvement for preprocessor #298
Comments
I wrote a long reply but it seems to have been destroyed so here is a quick version. That seems a good feature but there are some issues. To prevent conflicts, all the contents except for the There are multiple
There are extraneous whitespace changes in the patch that obscure the intent and that should be reverted. |
Maybe a property (e.g. |
Here is the replacement for patch above. According to the comments listed above, this patch includes:
For this patch, additionally some sed-filtering was done to remove extra spaces. I hope, it is fine now.
|
OnTop here are new testfiles to verify correct work of properties: Description: |
So far, here is my final LexPascal patch. It adds ability to use more keyword lists. There is one list named Because, there are now more than 9 keyword lists in use, I had to slightly change TestLexers.cxx and also there is the need to adjust Keywords list naming introduced similar to style naming. For that, style names |
When a test file is similar to other tests except for changing a simple option, its easier to use a The additional keyword lists appear to not be keywords but distinguished sets of identifiers. These should be defined as substyles - see The Changing Changing style constant names in |
Remove static since no longer needed.
Committed a change to using an unnamed namespace and removing static. |
Should'nt Edit: Oh, I may have misinterpreted. |
The |
Neil. Attached some styling improvement for LexPascal. Patch will grey out inactive preprocessor if/else block. Also test files are updated and a documentation is included.
"ASM styling" correction [link] is included. too.
I would ask you to take a look at it and check it out if you want to include it in Lexilla.
Regards HoTschir
lexilla.devLexPascal.3degaxtrcgmlemh7.patch.zip
The text was updated successfully, but these errors were encountered: