JetBrains / Grammar-Kit

Grammar files support & parser/PSI generation for IntelliJ IDEA
Other
715 stars 125 forks source link

Generator drops zzAtBOL and zzEOFDone from code and makes lexer non-compilable #332

Closed jreznot closed 1 year ago

jreznot commented 1 year ago

image

image

Reproduced on https://github.com/jreznot/jdl-intellij-plugin

See src/main/grammar/jdl.flex and run Generate Lexer.

IntelliJ IDEA 2023.2 Nightly

jreznot commented 1 year ago

There is no such problem in 2023.1 but nightly is affected

hurricup commented 1 year ago

my guess is that skeleton is downloaded from IJ commmunity and skeleton there is updated to 1.9.1

hurricup commented 1 year ago

325 need to be released to fix this. Atm seems only gradle plugin works properly.

goto1134 commented 11 months ago

@gregsh , reproduced this bug on 2023.2.4 and 2024.1 Nightly