Commit 3fda721e authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

[2428] Code simplification

We don't need that intermediate variable
parent 041637fa
......@@ -116,14 +116,8 @@ public:
void doInclude() {
// First, get the filename to include
const MasterToken::StringRegion
// Push the filename. We abuse the fact that filename
// may not contain '\0' anywhere in it, so we can
// freely use the filename.beg directly.
string filename(filename_tok.beg);
const string
// There could be an origin (or maybe not). So try looking
const MasterToken name_tok(lexer_.getNextToken(MasterToken::QSTRING,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment