You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR: incomplete parse at: (0 2 "42f" "failed char pred")
called from <anonymous> on line 1292 of file /usr/share/chibi/init-7.scm
called from <anonymous> on line 821 of file /usr/share/chibi/init-7.scm
Since the car of the list in the error message is the line number, I would have expected the output to be:
Since the error occurs on the first line of input. However, it seems that chibi-scheme starts counting line numbers at zero (which I would argue is at the very least unconventional). Is it intentional that line numbers start at zero?
The text was updated successfully, but these errors were encountered:
nmeum
changed the title
(chibi parse): Inaccurate location information in parse-failure(chibi parse): Inaccurate line number information in parse-failure
Dec 15, 2022
Consider the following chibi program:
This outputs the following error:
Since the
car
of the list in the error message is the line number, I would have expected the output to be:Since the error occurs on the first line of input. However, it seems that chibi-scheme starts counting line numbers at zero (which I would argue is at the very least unconventional). Is it intentional that line numbers start at zero?
The text was updated successfully, but these errors were encountered: