Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
9.2.2023: Due to updates GitLab will be unavailable for some minutes between 9:00 and 11:00.
Open sidebar
badw-it
DHParser
Commits
7170a26a
Commit
7170a26a
authored
Mar 02, 2019
by
eckhart
Browse files
- CHANGES.txt updated
parent
a616dc15
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES.txt
View file @
7170a26a
...
...
@@ -3,6 +3,16 @@ DHParser Version 0.8.6 (date ?)
- default configuration now centralized in DHParser/configuration.py
- dropped python 3.4 support
- infinite loops in ZeroOrMore, OneOrMore and the like will now simply
be broken rather than reported as an error
- better parser-optimization, i.e. flattening and dropping of irrelevant
nodes while parsing already.
- no caching of node.content any more, because this was conceptually
unsound. Trees are refactored and nodes dropped all the time which
would require invalidating the cache, which would be hard to implement.
- mini-framework for static grammar analysis added (see parse.Grammar).
As of now: no use case
DHParser Version 0.8.5 (10.2.2019)
...
...
DHParser/parse.py
View file @
7170a26a
...
...
@@ -1085,7 +1085,7 @@ class Grammar:
def
visit_parser
(
parser
:
Parser
)
->
None
:
nonlocal
error_list
self
.
root_parser__
.
apply
(
visit_parser
)
#
self.root_parser__.apply(visit_parser)
# disabled, because no use case as of now
return
error_list
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment