Open heruhday opened 1 year ago
I tried to generate cpp lexer from https://github.com/antlr/grammars-v4/blob/master/cpp/pom.xml, but have a error like: error: expected {, found throw I think the problem is throw because rust not using throw new like java or C# for error handling.
{
throw
throw new
--> src\cpp\cpp14parser.rs:23478:64 |
if
I tried to generate cpp lexer from https://github.com/antlr/grammars-v4/blob/master/cpp/pom.xml, but have a error like: error: expected
{
, foundthrow
I think the problem isthrow
because rust not usingthrow new
like java or C# for error handling.{
if
expression is missing a block after this condition --> src\cpp\cpp14parser.rs:23477:6