Skip to content

Commit

Permalink
Move the antlr runtime outside of the parser directory, to avoid circ…
Browse files Browse the repository at this point in the history
…ular dependencies
  • Loading branch information
pelson committed Sep 29, 2024
1 parent 47f4c6b commit 47e3278
Show file tree
Hide file tree
Showing 67 changed files with 273 additions and 370 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +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
7 changes: 3 additions & 4 deletions cf_units/_udunits2_parser/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,14 @@

import unicodedata

from cf_units._udunits2_parser.parser._antlr4_runtime import (
from . import graph
from ._antlr4_runtime import (
CommonTokenStream,
InputStream,
)
from cf_units._udunits2_parser.parser._antlr4_runtime.error import (
from ._antlr4_runtime.error import (
ErrorListener,
)

from . import graph
from .parser.udunits2Lexer import udunits2Lexer
from .parser.udunits2Parser import udunits2Parser
from .parser.udunits2ParserVisitor import udunits2ParserVisitor
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 47e3278

Please sign in to comment.