Problem with JFlex-generated lexer
I'm using the JFlex tool bundled with IDEA #7051 and it's generating source that won't compile. Specifically, it's generating the following line in the lexer's reset method:
zzBufferArray = com.intellij.util.text.CharArrayUtil.fromSequenceWithoutCopying(buffer);
IDEA complains (as does the compiler) that the fromSequenceWithoutCopying method does not exist.
I'm executing JFlex using a java task in an ant build script with the following args: --nobak --charat --skel idea-jflex.skeleton -d /my/output/dir /my/grammar.flex
Please sign in to leave a comment.
That method is IDEA 7.0 specific one
Gordon Tyler wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Yeah I just this minute realized that my IDEA project setup with an older IDEA's SDK by mistake.