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 ?

0

Hi Jörg,

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

Also, see: https://github.com/JetBrains/Grammar-Kit/issues/44

0

请先登录再写评论。