Commit 15ad2819 authored by di68kap's avatar di68kap
Browse files

- DHParser/ebnf.py: bugfix, assert_content-statement in AST-transform-tree

parent f4adb11f
......@@ -232,7 +232,7 @@ EBNF_AST_transformation_table = {
remove_brackets,
"oneormore, repetition, option":
[reduce_single_child, remove_brackets,
forbid('repetition', 'option', 'oneormore'), assert_content(r'(?!§)')],
forbid('repetition', 'option', 'oneormore'), assert_content(r'(?!§)(?:.|\n)*')],
"symbol, literal, regexp":
reduce_single_child,
(TOKEN_PTYPE, WHITESPACE_PTYPE):
......
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