Commit 251f09c9 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Protected the new (not yet finished) code that merge environments.

parent ed2eb296
......@@ -38,12 +38,14 @@ FastPreprocessor::FastPreprocessor(const Snapshot &snapshot)
QByteArray FastPreprocessor::run(QString fileName, const QString &source)
if (Document::Ptr doc = _snapshot.value(fileName)) {
foreach (const Document::Include &i, doc->includes())
const QByteArray preprocessed = _preproc(fileName, source);
return preprocessed;
Supports Markdown
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