summaryrefslogtreecommitdiff
path: root/src/core/parser/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/parser/utils')
-rw-r--r--src/core/parser/utils/Tokenizer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/parser/utils/Tokenizer.cpp b/src/core/parser/utils/Tokenizer.cpp
index 8d540a6..8bc8b23 100644
--- a/src/core/parser/utils/Tokenizer.cpp
+++ b/src/core/parser/utils/Tokenizer.cpp
@@ -162,12 +162,12 @@ public:
Tokenizer::Tokenizer() : nextTokenId(0) {}
-template <bool read>
+template <bool tRead>
bool Tokenizer::next(CharReader &reader, Token &token, TokenizedData &data)
{
// If we're in the read mode, reset the char reader peek position to the
// current read position
- if (read) {
+ if (tRead) {
reader.resetPeek();
}
@@ -265,7 +265,7 @@ bool Tokenizer::next(CharReader &reader, Token &token, TokenizedData &data)
// Seek to the end of the current token
const size_t end = bestMatch.token.location.getEnd();
- if (read) {
+ if (tRead) {
reader.seek(end);
} else {
reader.seekPeekCursor(end);