data: fixed file clearing to clear only elements with no more source_locations

This commit is contained in:
Eberhard Graether
2015-10-12 11:42:19 +02:00
parent 29afd80673
commit 27bf5108ab
6 changed files with 35 additions and 18 deletions
+2 -2
View File
@@ -58,8 +58,8 @@ public:
virtual void startParsing() = 0;
virtual void finishParsing() = 0;
virtual void prepareParsingFile() = 0;
virtual void finishParsingFile() = 0;
virtual void prepareParsingFile(const FilePath& filePath) = 0;
virtual void finishParsingFile(const FilePath& filePath) = 0;
virtual void onError(const ParseLocation& location, const std::string& message) = 0;
virtual size_t getErrorCount() const = 0;