Commit 3f45d04f authored by di68kap's avatar di68kap
Browse files

- DHParser: parse.py: bugfix: Fehlermeldungen fehlten in History-Log

parent 6919c326
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1667,7 +1667,7 @@ def mandatory_violation(grammar: Grammar,
    found = text_[:10].replace('\n', '\\n ') + '...'
    for search, message in err_msgs:
        rxs = not isinstance(search, str)
        if rxs and text_.match(search) or (not rxs and text_.startswith(search)):
        if (rxs and text_.match(search)) or (not rxs and text_.startswith(search)):
            try:
                msg = message.format(expected, found)
                break