Don't output an extra new line in the stringInterpolation() function
This commit is contained in:
parent
04923f03a5
commit
905222f61d
|
@ -62,7 +62,7 @@ protected:
|
||||||
output << view.substr(occurrence + strlen(interpolationString), (closingBrace - occurrence) - strlen(interpolationString));
|
output << view.substr(occurrence + strlen(interpolationString), (closingBrace - occurrence) - strlen(interpolationString));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else output << openCharacters << view << closeCharacters << '\n';
|
} else output << openCharacters << view << closeCharacters;
|
||||||
}
|
}
|
||||||
typedef function<void (const ParseTree& parsedTree, unsigned int& index)> task;
|
typedef function<void (const ParseTree& parsedTree, unsigned int& index)> task;
|
||||||
#define make_task_base(type, captures, function_body) make_pair(type_index(typeid(type)), [captures](const ParseTree& parsedTree, unsigned int& index) { const type& parseComponent = pointerAs<type>(parsedTree[index]); function_body })
|
#define make_task_base(type, captures, function_body) make_pair(type_index(typeid(type)), [captures](const ParseTree& parsedTree, unsigned int& index) { const type& parseComponent = pointerAs<type>(parsedTree[index]); function_body })
|
||||||
|
|
Loading…
Reference in New Issue