aboutsummaryrefslogtreecommitdiff
path: root/mod/module.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'mod/module.hxx')
-rw-r--r--mod/module.hxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/mod/module.hxx b/mod/module.hxx
index d8ffc5c..f3e062e 100644
--- a/mod/module.hxx
+++ b/mod/module.hxx
@@ -1,18 +1,17 @@
// file : mod/module.hxx -*- C++ -*-
-// copyright : Copyright (c) 2014-2019 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
#ifndef MOD_MODULE_HXX
#define MOD_MODULE_HXX
-#include <web/module.hxx>
+#include <web/server/module.hxx>
#include <libbrep/types.hxx>
#include <libbrep/utility.hxx>
#include <mod/utility.hxx>
-#include <mod/options.hxx>
#include <mod/diagnostics.hxx>
+#include <mod/module-options.hxx>
namespace brep
{
@@ -136,6 +135,9 @@ namespace brep
virtual void
skip ();
+ virtual std::size_t
+ position ();
+
private:
const name_values& name_values_;
name_values::const_iterator i_;
@@ -192,7 +194,7 @@ namespace brep
log* log_ {nullptr}; // Diagnostics backend provided by the web server.
private:
- // Extract function name from a __PRETTY_FUNCTION__.
+ // Extract the full-qualified function name from a __PRETTY_FUNCTION__.
// Throw invalid_argument if fail to parse.
//
static string