From e54e6df38f9d2c252d564a77dff30d6d4156eaff Mon Sep 17 00:00:00 2001 From: helly Date: Sun, 30 Oct 2005 17:04:56 +0000 Subject: [PATCH] - Fix translation issue --- actions.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/actions.cc b/actions.cc index afc394b1..28939f18 100644 --- a/actions.cc +++ b/actions.cc @@ -660,8 +660,8 @@ RegExp * Scanner::strToCaseInsensitiveRE(SubStr s) const if ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z')) { - reL = matchChar(tolower(c)); - reU = matchChar(toupper(c)); + reL = matchChar(xlat[tolower(c)]); + reU = matchChar(xlat[toupper(c)]); re = mkAlt(reL, reU); } else @@ -675,8 +675,8 @@ RegExp * Scanner::strToCaseInsensitiveRE(SubStr s) const if ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z')) { - reL = matchChar(tolower(c)); - reU = matchChar(toupper(c)); + reL = matchChar(xlat[tolower(c)]); + reU = matchChar(xlat[toupper(c)]); re = new CatOp(re, mkAlt(reL, reU)); } else @@ -728,7 +728,7 @@ RegExp * Scanner::invToRE(SubStr s) const RegExp * Scanner::mkDot() const { RegExp * any = ranToRE(SubStr("[\\000-\\377]")); - RegExp * ran = matchChar('\n'); + RegExp * ran = matchChar(xlat['\n']); RegExp * inv = mkDiff(any, ran); delete ran; -- 2.50.1