commit | fa946d4a0f6329134ddbae9a3ce03f6d4009019b | [log] [tgz] |
---|---|---|
author | Jean Chalard <jchalard@google.com> | Tue Oct 01 22:00:03 2013 +0900 |
committer | Jean Chalard <jchalard@google.com> | Wed Oct 02 11:48:47 2013 +0900 |
tree | c270309fb3e451a228de9065861268f471b19a5b | |
parent | 74577bedb3bb0dabd0e661270f9da0c11c4b0f46 [diff] |
Fix a test and crash with a better error message when reading When there are too many bigrams, we stop reading the file, so the file pointer is in an inconsistent place. This means we have no idea what's going to happen next. It's better to crash right away. Change-Id: Id3b7b78cbe4fda3493b3c9c46758763e1ab5f6a3