Commit 22ab2042 authored by Weile Wei's avatar Weile Wei
Browse files

fix end of file bug in arm environment

parent bd2d675b
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -341,6 +341,12 @@ std::pair<wchar_t, JSON_character_class_type> JSON_parser<context_type>::get_nex
    }

    nextChar = inputStream.get();
    if (inputStream.eof()) {
      nextChar = EOF;
      nextClass = C_EOF;

      return result;
    }
    numChar++;

    if (nextChar == L'\n')