Commit 55931c6d authored by Igor Dejanovic's avatar Igor Dejanovic

Changed EOF string representation.

parent 3af59964
...@@ -584,7 +584,7 @@ class EndOfFile(Match): ...@@ -584,7 +584,7 @@ class EndOfFile(Match):
def _parse(self, parser): def _parse(self, parser):
c_pos = parser.position c_pos = parser.position
if len(parser.input) == c_pos: if len(parser.input) == c_pos:
return Terminal('** EOF', c_pos, '', suppress=True) return Terminal('EOF', c_pos, '', suppress=True)
else: else:
if parser.debug: if parser.debug:
print("!! EOF not matched.") print("!! EOF not matched.")
......
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