about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--kgramstats.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/kgramstats.cpp b/kgramstats.cpp index 5b571d6..891f4f8 100644 --- a/kgramstats.cpp +++ b/kgramstats.cpp
@@ -468,6 +468,8 @@ std::string kgramstats::randomSentence(int n)
468 case parentype::asterisk: result = "*" + result; break; 468 case parentype::asterisk: result = "*" + result; break;
469 case parentype::quote: result = "\"" + result; break; 469 case parentype::quote: result = "\"" + result; break;
470 } 470 }
471 } else {
472 open_delimiters.pop();
471 } 473 }
472 474
473 switch (dt.first.type) 475 switch (dt.first.type)