Tokenizer.cpp: Rename local variable in regex matching
This commit is contained in:
@@ -8,9 +8,9 @@ Tokenizer::Tokenizer(const QString &text)
|
||||
QRegularExpressionMatchIterator i = tokenRegex.globalMatch(text);
|
||||
while (i.hasNext())
|
||||
{
|
||||
auto text = i.next().captured();
|
||||
this->tokens_ << text;
|
||||
this->tokenTypes_ << this->tokenize(text);
|
||||
auto capturedText = i.next().captured();
|
||||
this->tokens_ << capturedText;
|
||||
this->tokenTypes_ << this->tokenize(capturedText);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user