Grammer Live Preview with tokens defined separately in *.flex not possible ?


Live previewing with tokens defined in a *.flex doesn't seem to work (keywords etc. not recognized, although the lexer has been generated in the project's sources!)
Is it true that all tokens must be defined inside the *.bnf grammar in order for the Live Preview to work ?

1 comment

Hi Jörg,

Yes, in order to use LivePreview, you need the tokens list in the BNF file.

Also, see:


Please sign in to leave a comment.