-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Description
Heh, we have a problem with the build system related to the XPath parsers for all of the various targets. It looks like in the java target I avoided a circular dependency (gen 4.10 parser for XPath using 4.10 which needs it to build) by hand building the parser: runtime/Java/src/org/antlr/v4/runtime/tree/xpath/XPath.java. I see the following files that should be regenerated using either the previous version or the current somehow:
runtime/Cpp/runtime/src/tree/xpath/XPathLexer.g4
runtime/CSharp/src/Tree/Xpath/XPathLexer.g4
Then I see that there is a version in the python targets but those don't have a grammar.
Any suggestions about how to resolve this? @ericvergnaud @mike-lischke @jcking I'm pretty sure the Python ones fails. I get Exception: Could not deserialize ATN with version (expected 4).
I'm in the process of building python files to automate the build. For example here is the start of my code to update the version number in the various files:
Might be as simple as adding something to an overall python release program to run ANTLR on these XPath grammars.