Merge pull request #3706 from evolutional/fix-3506

Check (& skip) of the utf-8 byte order mark
This commit is contained in:
Wouter van Oortmerssen
2016-01-19 11:10:07 -08:00
2 changed files with 10 additions and 0 deletions

View File

@@ -444,6 +444,7 @@ private:
FLATBUFFERS_CHECKED_ERROR Error(const std::string &msg);
FLATBUFFERS_CHECKED_ERROR ParseHexNum(int nibbles, int64_t *val);
FLATBUFFERS_CHECKED_ERROR Next();
FLATBUFFERS_CHECKED_ERROR SkipByteOrderMark();
bool Is(int t);
FLATBUFFERS_CHECKED_ERROR Expect(int t);
std::string TokenToStringId(int t);