Anders Eriksson
Anders Eriksson
The directory only has two .g4 files that I got from https://github.com/antlr/grammars-v4 > CSharpLexer.g4 > CSharpParser.g4 Where would the log file be created?
The .g4 file builds perfectly! But I cloned AntrSVIX and ran it through the debugger and the exception is called in ReformatCommand.cs line 94 ``` org.antlr.codebuff.Tool.Main( new string[] { "-g",...
I have tried the **Java9.g4** and a couple of the .g4 files from the https://github.com/antlr/grammars-v4 repository and they all give the same error!
Ok, here is the debug output (it seems like the CSharp grammer is not valid) > gramm: org.antlr.codebuff.grammar.ANTLRv4 > > Exception of type 'Antlr4.Runtime.InputMismatchException' was thrown. > > C:\Users\Anders\Documents\Antlr\CORPUS_LOCATION\CSharpLexer.g4 line...
I have found the problem! I didn't download the grammer files, just viewed them at Github. Seems like I got the html page instead of the raw grammer. I replaced...