diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-03-19 11:43:33 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-03-19 11:43:33 +0200 |
commit | 29e274022a8c88dd1a48c1b591635bb044fe808f (patch) | |
tree | 10a1345516892756fd0495e70bbd36d08455cf02 /cli/runtime-inline.cxx | |
parent | 836d09e029d8bf7d04e2084198ec3bac7b9a3406 (diff) |
Add vector_scanner::reset()
Diffstat (limited to 'cli/runtime-inline.cxx')
-rw-r--r-- | cli/runtime-inline.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
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 |