dy

Results 8 comments of dy

> This seems to be an exact duplicate of https://github.com/antlr/grammars-v4/issues/3885 yes,I saw the question after I asked it.

> Instead of: > > ``` > prefixexp > : NAME ('[' exp ']' | '.' NAME)* > | functioncall ('[' exp ']' | '.' NAME)* > | '(' exp...

> > Yes, I have reordered the syntax rules like this, but I saw kaby76's comment: [#3885 (comment)](https://github.com/antlr/grammars-v4/issues/3885#issuecomment-1852090676), so this issue might require a different solution. > > Of course,...

I solved the problem using the following lexical rule ```g4 EscapeSequence : '\\' [abfnrtvz"'|$#\\] // World of Warcraft Lua additionally escapes |$# | '\\' '\r'? '\n' | '\\' . |...

OMG,thank you bkiers,this is my mistake, I am dealing with lua5.1.4, not lua5.4

Oh,Thank you! I previously used ``` LINE_COMMENT : '--' ('[')? (~'[') SingleLineInputCharacter* -> channel(HIDDEN) ; ``` But there are still problems, the LINE_COMMENT you provided looks correct.

对windows系统来说,打开多个检查规则刚开始的cpu占有率也很高, 而且内存一直是7g左右