Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
badw-it
DHParser
Commits
9bebcbdc
Commit
9bebcbdc
authored
Oct 15, 2018
by
di68kap
Browse files
- added assertion for (now) illegal '+' entry in processing table
parent
a052b256
Changes
1
Hide whitespace changes
Inline
Side-by-side
DHParser/transform.py
View file @
9bebcbdc
...
...
@@ -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 '
...
...
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