From 0ece0683693c981d0813cbcf57ce8d91c7650baa Mon Sep 17 00:00:00 2001 From: "kvisco%ziplink.net" Date: Sun, 23 Jul 2000 07:24:45 +0000 Subject: [PATCH] Not part of regular build, a=leaf. Fixed bug I introduced with a previous patch. prevToken was getting set to NULL in some places when it shouldn't. git-svn-id: svn://10.0.0.236/trunk@74662 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/extensions/transformiix/source/xpath/ExprLexer.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mozilla/extensions/transformiix/source/xpath/ExprLexer.cpp b/mozilla/extensions/transformiix/source/xpath/ExprLexer.cpp index 8576553ff8a..49154d38fad 100644 --- a/mozilla/extensions/transformiix/source/xpath/ExprLexer.cpp +++ b/mozilla/extensions/transformiix/source/xpath/ExprLexer.cpp @@ -29,13 +29,13 @@ * -- Fixed bug in parse method so that we make sure we check for * axis identifier wild cards, such as ancestor::* * - * $Id: ExprLexer.cpp,v 1.6 2000-06-19 09:03:12 kvisco%ziplink.net Exp $ + * $Id: ExprLexer.cpp,v 1.7 2000-07-23 07:24:45 kvisco%ziplink.net Exp $ */ /** * Lexical analyzer for XPath expressions * @author Keith Visco - * @version $Revision: 1.6 $ $Date: 2000-06-19 09:03:12 $ + * @version $Revision: 1.7 $ $Date: 2000-07-23 07:24:45 $ **/ #include @@ -679,6 +679,9 @@ void ExprLexer::parse(const String& pattern) { case AT_SIGN : case PLUS: case DOLLAR_SIGN : + matchToken(tokenBuffer, ch); + matchDelimiter(ch); + break; case VERT_BAR: matchToken(tokenBuffer, ch); matchDelimiter(ch);