From acda8938da41b39780474becbde2d079db83e065 Mon Sep 17 00:00:00 2001 From: wlestes Date: Fri, 15 Feb 2008 12:37:35 +0000 Subject: fix bug that prevented comments from working properly --- NEWS | 5 ++++- parse.y | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) 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; -- cgit v1.2.1