aboutsummaryrefslogtreecommitdiff
path: root/mod/module.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-08-05 11:24:39 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-08-05 11:24:39 +0300
commitf426af00bfb872bf7374fe71f419713ec15f88c7 (patch)
treedf0a9e64169e9fc4e4ffdbeeae4a32451cec63b9 /mod/module.cxx
parent9ce32d7d20850290deeef2a27a989a87c01a94cd (diff)
Add handler::name_value_scanner::position()
Diffstat (limited to 'mod/module.cxx')
-rw-r--r--mod/module.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/mod/module.cxx b/mod/module.cxx
index 06799d7..9209f3f 100644
--- a/mod/module.cxx
+++ b/mod/module.cxx
@@ -406,4 +406,10 @@ namespace brep
else
throw cli::eos_reached ();
}
+
+ size_t handler::name_value_scanner::
+ position ()
+ {
+ return i_ - name_values_.begin ();
+ }
}