logic: Store locations of errors in source_location table of DB

This commit is contained in:
mlangkabel
2018-11-30 16:02:10 +01:00
parent 34691a0555
commit a51799c279
23 changed files with 290 additions and 193 deletions
+2 -4
View File
@@ -264,13 +264,11 @@ void JavaParser::doRecordError(
bool indexed = jIndexed;
m_client->recordError(
m_currentFilePath,
beginLine,
beginColumn,
utility::decodeFromUtf8(m_javaEnvironment->toStdString(jMessage)),
fatal,
indexed,
FilePath()
FilePath(),
ParseLocation(m_currentFileId, beginLine, beginColumn)
);
}