What does "number of states should not exceed 16" comment in the codebase means?

已计划

Hey!

 

In this file:

https://github.com/JetBrains/intellij-community/blob/5bdbdd5ba6d18e7817ce9e8b0a470580e70161d0/xml/xml-psi-impl/src/com/intellij/lexer/_HtmlLexer.flex#L38

 

We can read this comment:

/* IMPORTANT! number of states should not exceed 16. See JspHighlightingLexer. */

 

I can't find JspHightingLexer and thus, I can't find what does it mean and what should I care of. Does someone have info on this?

 

Thanks a lot,

Xavier 

0

请先登录再写评论。