diff options
author | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2009-11-08 12:34:00 +0000 |
---|---|---|
committer | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2009-11-08 12:34:00 +0000 |
commit | b1f1de5a7a98b66f557e5254f66e6d7cd2756224 (patch) | |
tree | 7d607789a4d12d59614048a235d81b450010e876 /src/pugixpath.cpp | |
parent | e3293a8baa1294e51bfcd6d3fc0cb7cee756ee7c (diff) |
XPath: Minor fix
git-svn-id: http://pugixml.googlecode.com/svn/trunk@218 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src/pugixpath.cpp')
-rw-r--r-- | src/pugixpath.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pugixpath.cpp b/src/pugixpath.cpp index ba447dd..70fe612 100644 --- a/src/pugixpath.cpp +++ b/src/pugixpath.cpp @@ -3401,8 +3401,7 @@ namespace pugi // This is either a function call, or not - if not, we shall proceed with location path
const char* state = m_lexer.state();
- // $$$ signed char
- while (*state && *state <= 32) ++state;
+ while (is_chartype(*state, ct_space)) ++state;
if (*state != '(') return parse_location_path();
|