Commit 9bebcbdc authored by di68kap's avatar di68kap
Browse files

- added assertion for (now) illegal '+' entry in processing table

parent a052b256
......@@ -290,6 +290,7 @@ def traverse(root_node: Node,
for name, call in list(processing_table.items())}
table = expand_table(table)
# substitute key for insiginificant whitespace
assert '+' not in table, 'Symbol "+" in processing table is obsolete, use "<" instead'
if '~' in table:
if ':Whitespace' in table:
raise AssertionError('"~" is a synonym for ":Whitespace" in the '
......
Supports Markdown
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