# # # patch "basic_io.cc" # from [710f0ead113a44b5158957bab7408a9480cbb0b6] # to [7af96487d35923ba71f15b87ff99a46eff193a7b] # # patch "basic_io.hh" # from [d8c0da1addf5ce3ebda40f4508db86375620343a] # to [2d6d4c0e33715ae8addbf0467dc535edbd88f683] # ============================================================ --- basic_io.cc 710f0ead113a44b5158957bab7408a9480cbb0b6 +++ basic_io.cc 7af96487d35923ba71f15b87ff99a46eff193a7b @@ -197,7 +197,6 @@ UNIT_TEST(basic_io, binary_transparency) basic_io::parser parser(tokenizer); std::string t1; parser.esym(test); - parser.sym(); parser.str(t1); assert(testpattern==t1); } ============================================================ --- basic_io.hh d8c0da1addf5ce3ebda40f4508db86375620343a +++ basic_io.hh 2d6d4c0e33715ae8addbf0467dc535edbd88f683 @@ -78,7 +78,7 @@ namespace basic_io inline void peek() { if (LIKELY(curr != in.end())) - lookahead = *curr; + lookahead = *curr & 0xff; else lookahead = EOF; }