aboutsummaryrefslogtreecommitdiff
path: root/mod/module.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'mod/module.cxx')
-rw-r--r--mod/module.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/module.cxx b/mod/module.cxx
index 9209f3f..2fcadd2 100644
--- a/mod/module.cxx
+++ b/mod/module.cxx
@@ -410,6 +410,6 @@ namespace brep
size_t handler::name_value_scanner::
position ()
{
- return i_ - name_values_.begin ();
+ return (i_ - name_values_.begin ()) * 2 + (name_ ? 0 : 1);
}
}