- Added a strict analysis mode that throws errors. In non-strict mode no errors
  are thrown because parsing is incomplete most of the time, and only the final
  pass needs to be strict.
This commit is contained in:
Paul Beckingham 2014-11-08 14:00:39 -05:00
parent 11d210a7c7
commit b9b998c769
3 changed files with 10 additions and 8 deletions

View file

@ -73,7 +73,7 @@ public:
void entity (const std::string&, const std::string&);
void initialize (int, const char**);
void add (const std::string&);
void analyze (bool parse = true);
void analyze (bool parse = true, bool strict = false);
void applyOverrides ();
void getOverride (std::string&, File&);
void getDataLocation (Path&);
@ -132,6 +132,7 @@ public:
std::vector <std::pair <int, int> > _id_ranges;
std::vector <std::string> _uuid_list;
bool _strict;
};
#endif