From: SourceForge.net <no...@so...> - 2008-05-07 21:22:16
|
Bugs item #1959811, was opened at 2008-05-07 23:22 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=1959811&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: Dennis Schridde (lindevel) Assigned to: Nobody/Anonymous (nobody) Summary: Segfault for debug scanners Initial Comment: In debug mode re2c generates code like this: YYDEBUG(0, *YYCURSOR); if ((YYLIMIT - YYCURSOR) < 11) YYFILL(11); However before the scanner was filled, "cursor" will be NULL. (At least for the examples.) I assume YYCURSOR should be filled before trying to access it. I.e. YYDEBUG after YYFILL. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=616200&aid=1959811&group_id=96864 |