Commit 490a8c6b authored by di68kap's avatar di68kap
Browse files

- Mittellateinisches Wörterbuch imperium.mlw vorbereitet

parent 3c06823b
...@@ -1271,7 +1271,7 @@ class Token(RE): ...@@ -1271,7 +1271,7 @@ class Token(RE):
######################################################################## ########################################################################
# #
# Containing parser classes, i.e. parsers that contain other parsers # Containing parser classes, i.e. parsers that contain other parsers
# to which they delegate (i.e. trunk classes) # to which they delegate parsing
# #
######################################################################## ########################################################################
...@@ -1504,7 +1504,7 @@ class Series(NaryOperator): ...@@ -1504,7 +1504,7 @@ class Series(NaryOperator):
match = text.search(Series.RX_ARGUMENT) match = text.search(Series.RX_ARGUMENT)
i = max(1, text.index(match.regs[1][0])) if match else 1 i = max(1, text.index(match.regs[1][0])) if match else 1
node = Node(self, text_[:i]) node = Node(self, text_[:i])
node.add_error('%s expected; "%s" found!' node.add_error('%s expected; "%s"... found!'
% (str(parser), text_[:10].replace('\n', '\\n ')), % (str(parser), text_[:10].replace('\n', '\\n ')),
code=Error.MANDATORY_CONTINUATION) code=Error.MANDATORY_CONTINUATION)
text_ = text_[i:] text_ = text_[i:]
......
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