diff options
Diffstat (limited to 'cli')
-rw-r--r-- | cli/runtime-header.cxx | 3 | ||||
-rw-r--r-- | cli/runtime-inline.cxx | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/cli/runtime-header.cxx b/cli/runtime-header.cxx index 6dd0899..9861166 100644 --- a/cli/runtime-header.cxx +++ b/cli/runtime-header.cxx @@ -308,6 +308,9 @@ generate_runtime_header (context& ctx) << "std::size_t" << endl << "end () const;" << endl + << "void" << endl + << "reset (std::size_t start = 0);" + << endl << "virtual bool" << endl << "more ();" << endl diff --git a/cli/runtime-inline.cxx b/cli/runtime-inline.cxx index 86aae02..abcf56a 100644 --- a/cli/runtime-inline.cxx +++ b/cli/runtime-inline.cxx @@ -206,6 +206,12 @@ generate_runtime_inline (context& ctx) << "{" << "return i_;" << "}"; + + os << inl << "void vector_scanner::" << endl + << "reset (std::size_t i)" + << "{" + << "i_ = i;" + << "}"; } // argv_file_scanner |