I get a lot of errors from the file parser.h. May it be due to having named a class “Parser”? I have renamed that class. Also, it existed before, when the error did not occur.
More specifically, the first error is C3645 ‘m_cCurToken’: unknown override specifier, followed by a lot of syntax errors in the same parser.h file (and the CParseXML Class inside this file).
I have restarted Visual Studio, Windows, deleted the moc-files, rebuild, cleaned, still it does not compile. Any help appreciated!
#ifndef _JAVASCRIPTPARSER_H
#define _JAVASCRIPTPARSER_H
#include <iostream>
#include <map>
#include <vector>
#include "tables.h"
class TableLists
{
public:
std::vector<Field> fields;
...
};
class JSParser
{
public:
JSParser(const std::string&);
void ParseTables();
...
private:
std::string m_path;
};