04.06., 9:00 - 12:00: GitLab will be migrated to a new server environment and upgraded to Enterprise Edition Ultimate. The estimated downtime will be 2-3 hours. Please see https://doku.lrz.de/display/PUBLIC/GitLab+Ultimate+Migration for more details about changes related to the migration.

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