-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Vendor the antlr4 runtime library (#487)
* Format the generated code at generation time * Code to vendor the antlr runtime * Vendor the antlr4 runtime library * Remove the path from the generated code * Move the antlr runtime outside of the parser directory, to avoid circular dependencies * Use relative imports within the antlr4 runtime. This should be upstreamed * Update the readme to explain more about ANTLR4 and the vendoring process * Update cf_units/_udunits2_parser/README.md Co-authored-by: Patrick Peglar <patrick.peglar@metoffice.gov.uk> * Update cf_units/_udunits2_parser/README.md Co-authored-by: Patrick Peglar <patrick.peglar@metoffice.gov.uk> --------- Co-authored-by: Patrick Peglar <patrick.peglar@metoffice.gov.uk>
- Loading branch information
Showing
71 changed files
with
14,041 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
.git_archival.txt export-subst | ||
cf_units/_udunits2_parser/parser/**/*.py linguist-generated=true | ||
cf_units/_udunits2_parser/_antlr4_runtime/**/*.py linguist-generated=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
309 changes: 309 additions & 0 deletions
309
cf_units/_udunits2_parser/_antlr4_runtime/BufferedTokenStream.py
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.