diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2013-02-08 22:17:43 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2013-02-08 22:25:51 +0100 |
commit | 809e7ff25062023dfda16a9dd6a84d2a427dda24 (patch) | |
tree | fccb07bf1287039086bc2d9ccfab0410bded051f /src/parser.h | |
parent | ee35a5d130c17a957384f05b0d034fd3747b1f7c (diff) | |
download | sciteco-809e7ff25062023dfda16a9dd6a84d2a427dda24.tar.gz |
reverse Execute::step() change: no need to pass parameters by reference
cmdline and cmdline_pos is no longer modified by code executed by step()
instead it is modified at the outermost macro level (commandline macro level)
Diffstat (limited to 'src/parser.h')
-rw-r--r-- | src/parser.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.h b/src/parser.h index d2e570b..e810fa4 100644 --- a/src/parser.h +++ b/src/parser.h @@ -262,7 +262,7 @@ extern gchar *strings[2]; extern gchar escape_char; namespace Execute { - void step(const gchar *¯o, gint &stop_pos) + void step(const gchar *macro, gint stop_pos) throw (State::Error, ReplaceCmdline); void macro(const gchar *macro, bool locals = true) throw (State::Error, ReplaceCmdline); |