kaby76 / AntlrExamples

Some examples of parsing with Antlr
16 stars 7 forks source link

Multiple include in JavaScript Antlr example #3

Closed amir734jj closed 2 years ago

amir734jj commented 2 years ago
<ItemGroup>
<Antlr4 Include="JavaScriptLexer.g4" />
<Antlr4 Include="JavaScriptParser.g4" />
<Antlr4 Include="JavaScriptLexer.g4" />
<Antlr4 Include="JavaScriptParser.g4" />
</ItemGroup>

Its probably a typo

Source

kaby76 commented 2 years ago

I've updated the code to use the latest [JavaScript grammar[(https://github.com/antlr/grammars-v4/tree/master/javascript/javascript) from the grammars-v4 repo and the latest driver generated by trgen. The duplicate references to the grammars are no longer there.

amir734jj commented 2 years ago

@kaby76 Thank you :)