Skip to content

Commit 37a20fe

Browse files
committed
Python3 adaptation of the exceptions
1 parent decce39 commit 37a20fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ometa/runtime.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,8 @@ def eatWhitespace(self):
627627
while True:
628628
try:
629629
c, e = self.input.head()
630-
except EOFError as e:
630+
except EOFError as err:
631+
e = err
631632
break
632633
tl = self.input.tail()
633634
if c.isspace():

0 commit comments

Comments
 (0)