Skip to content

Commit

Permalink
Merge pull request #825 from austinmatherne-wk/pyparsing-3.0-support
Browse files Browse the repository at this point in the history
  • Loading branch information
austinmatherne-wk committed Aug 15, 2023
2 parents 4e88da3 + b287a39 commit aa99182
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion arelle/formula/XPathParser.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
from pyparsing import (
CaselessLiteral,
Combine,
DelimitedList,
Forward,
Group,
Keyword,
Expand All @@ -32,6 +31,7 @@
ZeroOrMore,
alphanums,
alphas,
delimitedList as DelimitedList,
nums,
quoted_string,
)
Expand Down
2 changes: 1 addition & 1 deletion arelle/plugin/formulaLoader.py
Original file line number Diff line number Diff line change
Expand Up @@ -1299,7 +1299,7 @@ def compileXfsGrammar( cntlr, debugParsing ):
Literal, CaselessLiteral,
Combine, Opt, nums, Or, Forward, Group, ZeroOrMore, OneOrMore, StringEnd, alphanums,
ParserElement, quoted_string, dbl_quoted_string, sgl_quoted_string, QuotedString,
DelimitedList, Suppress, Regex, FollowedBy,
delimitedList as DelimitedList, Suppress, Regex, FollowedBy,
lineno, line, col)

ParserElement.enable_packrat()
Expand Down
3 changes: 2 additions & 1 deletion arelle/plugin/sphinx/SphinxParser.py
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,8 @@ def compileSphinxGrammar( cntlr ):
cntlr.showStatus(_("Compiling Sphinx Grammar"))
from pyparsing import (
Word, Keyword, Literal, CaselessLiteral, Combine, Opt, nums, Forward, ZeroOrMore,
StringEnd, ParserElement, quoted_string, DelimitedList, Suppress, Regex, lineno
StringEnd, ParserElement, quoted_string, delimitedList as DelimitedList, Suppress,
Regex, lineno
)

ParserElement.enable_packrat()
Expand Down

0 comments on commit aa99182

Please sign in to comment.