[ANN] JFlex Support 1.1

Hello,

New version of plugin available via Plugin Manager since build 7051.

Changes:

  • Compiler for JFlex files

  • Initial PSI parser (as part of compiler support)

  • JFlex settings configurable dialog

  • Selena fixes to enable JFlex work with latest EAP


Enjoy!

0
6 comments

Great plugin! :) Now I want to study JFlex for custom language plugin development, thanks.

0
Avatar
Permanently deleted user

Hello Alexey,

there seems to be a problem with the compiler. See the screenshot. I can no longer make the project
due to this error. Do you interpret all output on stderr as an error? You should only generate
errors (which blocks the successful compilation of the project) for real JFlex-errors.

Sascha



Attachment(s):
jflex.png
0
Avatar
Permanently deleted user

Hello,

Thank for report.

Yes, i'm track all stderr output as compilation error. How i can parse stderr for correct error handling?

0
Avatar
Permanently deleted user

Hello Alexey,

Yes, i'm track all stderr output as compilation error. How i can parse stderr for correct error handling?


JFlex errors seem to start with "Error in file " which you could use to identify if it is an error
message. Another option would be to add errors from stdout only if JFlex exited with a status code
that indicates an error (if supported by JFlex).

And finally, as a hack, you could ignore lines starting with "Picked up JAVAOPTIONS" which comes
from the JVM when it finds the JAVAOPTIONS environment variable.

Sascha

0
Avatar
Permanently deleted user

Thanks a lot! Will fix soon.

0
Avatar
Permanently deleted user

Fixed in 1.1.1 version.
Please remove old JFlex plugin before update.

Thank you!

0

Please sign in to leave a comment.