[ragel-users] Line numbering from included files

Adrian Thurston thurs... at cs.queensu.ca
Thu Apr 24 20:46:13 UTC 2008

Sure, I'll add that to the TODO list.


Manoj Rajagopalan wrote:
> Hi Adrian,
>     If I include a bunch of ragel files into one master ragel file which 
> I then compile to .cpp the line numbering gets mixed up. All line 
> numbering info, whether with the #line directive or in the comments 
> generated when using the -L option refer to lines in the master Ragel 
> file. There is no reference to line numbers in the included files. So if 
> an error occurs at those locations, the line number information ends up 
> being misleading.
>    Can this be fixed in a future version?
> Thanks,
> Manoj
> > 

More information about the ragel-users mailing list