Closed jessemapel closed 4 years ago
btw, is it much work to have the LexerError spit out the LINE where the error happens? Would be much easier for debugging?
It does. Scroll right.
Here's the offending keyword:
INS-143400_LIGHTTIME_CORRECTION = LT+S
I would like to see the LINE not the LINE number? ;)
because in above label, i can not correlate line 7 with this error, even so i know from the error description that it must be the + in LT+S
Oh! Sorry, I misread that: derp. Yeah, LexerError needs more context on output, I agree. Added it to the Issue on Exceptions.
OS
MAC OS 10.13
Version
master @ be90a3e5425875828ca70e8fc66c67992559c64c
Bug
ISIS allows for + characters in string values, even though the general spec. does not. Attempting to read in an ISIS PVL with a + causes an error.
To reproduce
This is just a snippet of the full Cube label. I can provide that if needed too.
Raises the following exception