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
{{ message }}
Repository navigation
Syntax error points to wrong position in json5 #47
Looks like this was introduced with the fix for issue #26, which was (partially) attempting to fix a different case where the position was misreported. I'll have to figure out some way to handle both cases ...
This is fixed in beb97a9. I've just pushed v0.9.8, which contains this fix, to PyPI.
Sorry this took so long for a fix, there were $REASONS why I wasn't on top of this, plus once I started looking at it, the bug ended up being a rather subtle problem in the generated parsing code (i.e., in the parser generator).
Activity
dpranke commentedon Aug 25, 2021
Yup, that looks like a bug, I'd expect the "f" as well. I'll take a look.
dpranke commentedon Sep 1, 2021
Looks like this was introduced with the fix for issue #26, which was (partially) attempting to fix a different case where the position was misreported. I'll have to figure out some way to handle both cases ...
thepackrat commentedon Apr 16, 2022
+1 on this one, just cost me some sanity-questioning until I figured out what the parser error was doing.
Fix issue #47: syntax error points to wrong position ...
dpranke commentedon May 9, 2022
This is fixed in beb97a9. I've just pushed v0.9.8, which contains this fix, to PyPI.
Sorry this took so long for a fix, there were $REASONS why I wasn't on top of this, plus once I started looking at it, the bug ended up being a rather subtle problem in the generated parsing code (i.e., in the parser generator).