Bugs item #1885856, was opened at 2008-02-03 11:33
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=616200&aid=1885856&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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: code generation error
Initial Comment:
consider the following example
/*!re2c
[0-9a-zA-Z+.\-]* ":" { schema given; }
[0-9a-zA-Z+.\-]* [^:\000?;#] [^\000?;#]* { netloc; }
[0-9a-zA-Z+.\-]* { path given; }
*/
The algorithm takes an URL.
http://www.sf.net/
The generated code chooses the case 2)
although it should select the case 1)
The generated code doesnt have such an error in case the regexp admitting
schema symbols is omitted.
/*!re2c
":" { schema given; }
[^:\000?;#] [^\000?;#]* { netloc; }
[\000?;#]* { ; }
*/
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=616200&aid=1885856&group_id=96864
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Re2c-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/re2c-general