Hi
I am back with my lenient SQL grammar project...
Just FYI, I am trying to convert my Parser.javacc into congo and I get the stack trace below.
(No big deal, I was able to convert by hand)
Tks
C:\Work\Javacc21Test\src\main\java>java -jar "C:\Users\Nicolas\Downloads\javacc-full.jar" convert Parser.javacc
Exception in thread "main" java.lang.NullPointerException: Cannot invoke "com.javacc.parser.Token.getType()" because the return value of "com.javacc.parser.Token.previousCachedToken()" is null
at com.javacc.output.congo.SyntaxConverter.visit(SyntaxConverter.java:88)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.javacc.parser.Node$Visitor.visit(Node.java:771)
at com.javacc.parser.Node$Visitor.recurse(Node.java:789)
at com.javacc.parser.Node$Visitor.visit(Node.java:769)
at com.javacc.output.congo.SyntaxConverter.main(SyntaxConverter.java:346)
at com.javacc.Main.main(Main.java:193)