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
adf2be35
Commit
adf2be35
authored
Aug 29, 2018
by
di68kap
Browse files
- unnecessary import of merge_children removed
parent
4779233a
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/XML/XMLCompiler.py
View file @
adf2be35
...
...
@@ -26,7 +26,7 @@ from DHParser import logging, is_filename, load_if_file, \
ZeroOrMore
,
Forward
,
NegativeLookahead
,
Required
,
mixin_comment
,
compile_source
,
\
grammar_changed
,
last_value
,
counterpart
,
accumulate
,
PreprocessorFunc
,
\
Node
,
TransformationFunc
,
TransformationDict
,
Token
,
\
traverse
,
remove_children_if
,
merge_children
,
is_anonymous
,
\
traverse
,
remove_children_if
,
is_anonymous
,
\
reduce_single_child
,
replace_by_single_child
,
replace_or_reduce
,
remove_whitespace
,
\
remove_expendables
,
remove_empty
,
remove_tokens
,
flatten
,
is_whitespace
,
\
is_empty
,
is_expendable
,
collapse
,
replace_content
,
WHITESPACE_PTYPE
,
TOKEN_PTYPE
,
\
...
...
@@ -277,7 +277,7 @@ class XMLGrammar(Grammar):
extSubsetDecl
=
Forward
()
ignoreSectContents
=
Forward
()
markupdecl
=
Forward
()
source_hash__
=
"
205ce13682b5d466a39069a1c1c6108b
"
source_hash__
=
"
0d1304f359f001aae4a17e5d9e801f0e
"
parser_initialization__
=
"upon instantiation"
COMMENT__
=
r
''
WHITESPACE__
=
r
'\s*'
...
...
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