0

I just updated from fastparse 0.3.7 to 0.4.1. There is no longer a column number value in the extras of a Parsed.Failure. I grepped through the source and it seems the functionality has been removed, though it is still in the documentation. Is there some other way to get column info now?

seanmcl
  • 9,740
  • 3
  • 39
  • 45

1 Answers1

1

It's just changed a bit. You need to grab the index and the parser that failed, and call StringReprOps.prettyIndex.

seanmcl
  • 9,740
  • 3
  • 39
  • 45