diff options
Diffstat (limited to 'src/xmlpatterns/parser/qtokensource_p.h')
-rw-r--r-- | src/xmlpatterns/parser/qtokensource_p.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/xmlpatterns/parser/qtokensource_p.h b/src/xmlpatterns/parser/qtokensource_p.h index bbad071..267df23 100644 --- a/src/xmlpatterns/parser/qtokensource_p.h +++ b/src/xmlpatterns/parser/qtokensource_p.h @@ -81,7 +81,7 @@ namespace QPatternist * typedef for the enum Bison generates that contains * the token symbols. */ - typedef yytokentype TokenType; + typedef XPathtokentype TokenType; /** * Represents a token by carrying its name and value. @@ -122,8 +122,7 @@ namespace QPatternist /** * @returns the next token. */ - - virtual Token nextToken(YYLTYPE *const sourceLocator) = 0; + virtual Token nextToken(XPATHLTYPE *const sourceLocator) = 0; private: Q_DISABLE_COPY(TokenSource) |