aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/qregisters.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qregisters.h')
-rw-r--r--src/qregisters.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/qregisters.h b/src/qregisters.h
index 19fd3cd..651be1e 100644
--- a/src/qregisters.h
+++ b/src/qregisters.h
@@ -116,7 +116,7 @@ public:
virtual void edit(void);
virtual void undo_edit(void);
- void execute(bool locals = true) throw (State::Error);
+ void execute(bool locals = true) throw (State::Error, ReplaceCmdline);
bool load(const gchar *filename);
inline void
@@ -268,10 +268,11 @@ public:
StateExpectQReg();
private:
- State *custom(gchar chr) throw (Error);
+ State *custom(gchar chr) throw (Error, ReplaceCmdline);
protected:
- virtual State *got_register(QRegister &reg) throw (Error) = 0;
+ virtual State *got_register(QRegister &reg)
+ throw (Error, ReplaceCmdline) = 0;
};
class StatePushQReg : public StateExpectQReg {
@@ -328,7 +329,7 @@ private:
class StateMacro : public StateExpectQReg {
private:
- State *got_register(QRegister &reg) throw (Error);
+ State *got_register(QRegister &reg) throw (Error, ReplaceCmdline);
};
class StateCopyToQReg : public StateExpectQReg {