Commit bee988a1 authored by Heinz Wiesinger's avatar Heinz Wiesinger Committed by Friedrich W. H. Kossebau
Browse files

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 2fa7d3e9
......@@ -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