Missed a move
This commit is contained in:
parent
3f524078c2
commit
cf689e64b1
|
@ -164,7 +164,7 @@ Value {{name}}<Value>::parse() {
|
||||||
expected.emplace_back(static_cast<{{name}}_Symbol>(i));
|
expected.emplace_back(static_cast<{{name}}_Symbol>(i));
|
||||||
}
|
}
|
||||||
Token report = Token{tok.symbol, std::move(tok.value)};
|
Token report = Token{tok.symbol, std::move(tok.value)};
|
||||||
Value errorVal = error(report, expected);
|
Value errorVal = error(std::move(report), expected);
|
||||||
|
|
||||||
while (!valueStack.empty() && (TABLE[stateStack.top()][verr] & 0x3) == ERROR) {
|
while (!valueStack.empty() && (TABLE[stateStack.top()][verr] & 0x3) == ERROR) {
|
||||||
valueStack.pop();
|
valueStack.pop();
|
||||||
|
|
Loading…
Reference in New Issue