1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-04 18:29:40 +00:00

Merge pull request #326 from TomHarte/TyperTermination

Ensures typers terminate.
This commit is contained in:
Thomas Harte 2017-12-30 10:49:53 -08:00 committed by GitHub
commit 188bfa9c18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,6 +62,7 @@ bool Typer::type_next_character() {
if(!try_type_next_character()) {
phase_ = 0;
string_pointer_++;
if(string_pointer_ == string_.size()) return false;
} else {
phase_++;
}