aboutsummaryrefslogtreecommitdiffhomepage
path: root/goto.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-16 18:57:34 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-16 18:57:34 +0100
commit597497938a96b14f327345adb00dfcfd080208a3 (patch)
treed5ce78df6c5a234dc0ffa19c6357d805555f5122 /goto.h
parentde99e1068e3158866c0a537c27f035ae3d350d1a (diff)
downloadsciteco-597497938a96b14f327345adb00dfcfd080208a3.tar.gz
support different kinds of runtime errors (using C++ exceptions)
* also added some additional range checks (e.g. X command)
Diffstat (limited to 'goto.h')
-rw-r--r--goto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/goto.h b/goto.h
index 84157b1..622f58c 100644
--- a/goto.h
+++ b/goto.h
@@ -15,12 +15,12 @@ public:
StateLabel();
private:
- State *custom(gchar chr);
+ State *custom(gchar chr) throw (Error);
};
class StateGotoCmd : public StateExpectString {
private:
- State *done(const gchar *str);
+ State *done(const gchar *str) throw (Error);
};
namespace States {