Commit a7ca56f7 authored by Heinz Wiesinger's avatar Heinz Wiesinger

Translate relative paths of input files to absolute ones

IndexedString::toUrl() asserts on relative URLs. Since ParseSession
for at least PHP and Python stores the current document as an
IndexedString, this causes occasional issues.
parent 48bdc101
Pipeline #1588 failed with stage
in 60 minutes
......@@ -229,7 +229,7 @@ int initAndRunParser(KAboutData& aboutData, int argc, char* argv[])
#endif
parserT.parseCode( qin.readAll().toUtf8() );
} else {
parserT.parseFile(fileName);
parserT.parseFile(QFileInfo(fileName).absoluteFilePath());
}
}
......
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