| Comment: |
Fix valid class tweaker files initially erroring until reopened (#2608 )
* Fix valid class tweaker files initially erroring until reopened The slightly hacky fix utilises a "fake token" that matches real-looking line starts. It's unused in the parser so the user will still see an error when possible, but eliminating the BAD_CHARACTER inputs for valid *characters* seems to fix the incorrect error highlighting. * CtParser: Make invalid_entry_start_holder private to remove unused PSI itf * Clarify comment |
Status: | all builds with this change have finished |
| Revision: | d3067241bcded304433a427a78ac6491eae8efeb | VCS Roots: | minecraft-dev/MinecraftDev (Git), minecraft-dev/MinecraftDev Nightly (Git) |
| Parent revisions: | 6ad3fd78748db020eeac7c651cbe9dcd09f6df89 | ||
| User: | Unknown (none of TeamCity users defined juuz username in their VCS username settings) | ||
Changed: 2 files (2 edited) in
| edited | src/main/grammars/CtLexer.flex |
| edited | src/main/grammars/CtParser.bnf |