Define the two reference variables in one line in the loop of Parser.hpp.
This commit is contained in:
parent
b82faeb399
commit
de24219fca
|
@ -8,8 +8,7 @@ namespace Parser {
|
|||
ParseTree parseTree;
|
||||
using namespace StandardComponents::types;
|
||||
for (unsigned int i = 0; i < lexed.size() - 1; ++i) {
|
||||
const auto& current = lexed[i];
|
||||
const auto& next = lexed[i + 1];
|
||||
const auto& current = lexed[i], next = lexed[i + 1];
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue