Notice: If you are member of any public project or group, please make sure that your GitLab username is not the same as the LRZ identifier/Kennung (see https://gitlab.lrz.de/profile/account). Please change your username if necessary. For more information see the section "Public projects / Öffentliche Projekte" at https://doku.lrz.de/display/PUBLIC/GitLab . Thank you!

Commit 75c51cb9 authored by di68kap's avatar di68kap

- tst_MLW_grammar.py: XML-switch repaired

parent 169128d2
...@@ -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']
......
...@@ -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':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment