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
This commit is contained in:
kvisco%ziplink.net
2000-07-23 07:24:45 +00:00
parent ef381a50ae
commit 0ece068369

View File

@@ -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 <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
* @version $Revision: 1.6 $ $Date: 2000-06-19 09:03:12 $
* @version $Revision: 1.7 $ $Date: 2000-07-23 07:24:45 $
**/
#include <iostream.h>
@@ -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);