ips_layer: Fix inaccuracies with comments and flags

Specifically bugs/crashes that arise when putting them in positions that are legal but not typical, such as midline, between patch data, or between patch records.
This commit is contained in:
Zach Hilman
2018-10-04 12:23:18 -04:00
parent 70bd2bb1d3
commit 110d578470
3 changed files with 51 additions and 16 deletions

View File

@ -22,6 +22,7 @@ public:
VirtualFile Apply(const VirtualFile& in) const;
private:
void ParseFlag(const std::string& flag);
void Parse();
bool valid = false;