CLI
- 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user