From: markt Date: Wed, 6 Jan 2010 17:39:58 +0000 (+0000) Subject: Fix the test case failures. There is at least one bug still present - more test cases... X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=25fa04236c39636443fe081231dd3eb411c6b8b3;p=tomcat7.0 Fix the test case failures. There is at least one bug still present - more test cases to follow. git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@896570 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/el/parser/AstLiteralExpression.java b/java/org/apache/el/parser/AstLiteralExpression.java index b28a253a0..b5a7fdd66 100644 --- a/java/org/apache/el/parser/AstLiteralExpression.java +++ b/java/org/apache/el/parser/AstLiteralExpression.java @@ -54,8 +54,7 @@ public final class AstLiteralExpression extends SimpleNode { char c = image.charAt(i); if (c == '\\' && i + 1 < size) { char c1 = image.charAt(i + 1); - if (c1 == '\\' || c1 == '"' || c1 == '\'' || c1 == '#' - || c1 == '$') { + if (c1 == '#' || c1 == '$') { c = c1; i++; }