summaryrefslogtreecommitdiffstats
path: root/src/dom/xpathparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dom/xpathparser.cpp')
-rw-r--r--src/dom/xpathparser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dom/xpathparser.cpp b/src/dom/xpathparser.cpp
index bbe0fcc40..f0e929687 100644
--- a/src/dom/xpathparser.cpp
+++ b/src/dom/xpathparser.cpp
@@ -1,4 +1,4 @@
-/**
+/*
* Phoebe DOM Implementation.
*
* This is a C++ approximation of the W3C DOM model, which follows
@@ -467,7 +467,7 @@ int XPathParser::lexicalScan()
{
long op = (long)entry->ival;
//according to the disambiguating rule for * in the spec
- if (op == MULTIPLY && lexicalTokens.size() > 0)
+ if (op == MULTIPLY && !lexicalTokens.empty())
{
int ltyp = lexTokType(lexicalTokens.size()-1);
if (ltyp != AMPR && ltyp != DOUBLE_COLON &&