Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
DHParser
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
badw-it
DHParser
Commits
75c51cb9
Commit
75c51cb9
authored
Jun 12, 2019
by
di68kap
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- tst_MLW_grammar.py: XML-switch repaired
parent
169128d2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
DHParser/configuration.py
DHParser/configuration.py
+1
-0
DHParser/syntaxtree.py
DHParser/syntaxtree.py
+1
-0
No files found.
DHParser/configuration.py
View file @
75c51cb9
...
@@ -106,6 +106,7 @@ def finalize_presets():
...
@@ -106,6 +106,7 @@ def finalize_presets():
import
multiprocessing
import
multiprocessing
import
os
import
os
import
pickle
import
pickle
global
CONFIG_PRESET
if
multiprocessing
.
get_start_method
()
!=
'fork'
:
if
multiprocessing
.
get_start_method
()
!=
'fork'
:
syncfile_path
=
get_syncfile_path
(
os
.
getpid
())
syncfile_path
=
get_syncfile_path
(
os
.
getpid
())
existing_syncfile
=
CONFIG_PRESET
[
'syncfile_path'
]
existing_syncfile
=
CONFIG_PRESET
[
'syncfile_path'
]
...
...
DHParser/syntaxtree.py
View file @
75c51cb9
...
@@ -873,6 +873,7 @@ class Node: # (collections.abc.Sized): Base class omitted for cython-compatibil
...
@@ -873,6 +873,7 @@ class Node: # (collections.abc.Sized): Base class omitted for cython-compatibil
"""
"""
switch
=
how
.
lower
()
switch
=
how
.
lower
()
from
DHParser
import
configuration
if
switch
==
'ast'
:
if
switch
==
'ast'
:
switch
=
get_config_value
(
'ast_serialization'
).
lower
()
switch
=
get_config_value
(
'ast_serialization'
).
lower
()
elif
switch
==
'cst'
:
elif
switch
==
'cst'
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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