Bugs item #2186718, was opened at 2008-10-22 14:24
Message generated for change (Settings changed) made by helly
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=616200&aid=2186718&group_id=96864

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Marcus Börger (helly)
Summary: unescaped backslash in file name of #line directive

Initial Comment:
To reproduce run re2c on a Windows machine and specify input and output files 
using full paths (with path 
components separated by '\'), e.g.
re2c -o c:\temp\calc_001.c c:\temp\calc_001.re

In the output file some #line directive will look like

#line 1 "c:\temp\calc_001.re"

with '\' not escaped and some with '\' escaped as in

#line 24 "c:\\temp\\calc_001.c"

I believe that paths should be escaped in both cases.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=616200&aid=2186718&group_id=96864

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Re2c-general mailing list
Re2c-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/re2c-general

Reply via email to