23 Jul
2012
23 Jul
'12
2:11 a.m.
Thanks a lot Antonie and Simon.
Regards,
Kashyap
On Mon, Jul 23, 2012 at 12:15 AM, Antoine Latter
On Sun, Jul 22, 2012 at 11:00 AM, C K Kashyap
wrote: What's the function to access it?
The function 'runParser' returns either a result or a ParseError. You can extract the error position with the 'errorPos' function, and then you can extract the name of the file from the position with 'sourceName'.
The the 'Show' instance of ParseError does this.
Antoine