diff --git a/examples/simple/simple.cpp b/examples/simple/simple.cpp index 33ef0770b..593949c87 100644 --- a/examples/simple/simple.cpp +++ b/examples/simple/simple.cpp @@ -81,6 +81,7 @@ int main(int argc, char ** argv) { return 1; } + n_cur += tokens_list.size(); tokens_list.clear(); // sample the next token