From: Will Estes Date: Fri, 15 Feb 2008 12:37:35 +0000 (+0000) Subject: fix bug that prevented comments from working properly X-Git-Tag: flex-2-5-35~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4867f7ebbde71882375b0a16f053aaf282add47f;p=flex fix bug that prevented comments from working properly --- diff --git a/NEWS b/NEWS index 4ce56bd..9b515c2 100644 --- a/NEWS +++ b/NEWS @@ -5,8 +5,11 @@ See the file COPYING for copying conditions. * version 2.5.35 +** fixed bug that prevented flex from accepting certain comments in the + scanner file (resolves bugs #1849809 and #1849805) + ** fix bug that prevented headers for all functions from being generated -(resolves bug #1628314) + (resolves bug #1628314) ** change yy_size_t to be size_t (resolves bug #1849812) diff --git a/parse.y b/parse.y index 22d5933..871ff7e 100644 --- a/parse.y +++ b/parse.y @@ -856,8 +856,8 @@ ccl : ccl CHAR '-' CHAR /* Do it again for upper/lowercase */ if (sf_case_ins() && has_case($2)){ - $1 = reverse_case ($2); - ccladd ($1, reverse_case ($2)); + $2 = reverse_case ($2); + ccladd ($1, $2); cclsorted = cclsorted && ($2 > lastchar); lastchar = $2;