diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-11-16 18:57:34 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-11-16 18:57:34 +0100 |
commit | 597497938a96b14f327345adb00dfcfd080208a3 (patch) | |
tree | d5ce78df6c5a234dc0ffa19c6357d805555f5122 /goto.cpp | |
parent | de99e1068e3158866c0a537c27f035ae3d350d1a (diff) | |
download | sciteco-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.cpp')
-rw-r--r-- | goto.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -171,7 +171,7 @@ StateLabel::StateLabel() : State() } State * -StateLabel::custom(gchar chr) +StateLabel::custom(gchar chr) throw (Error) { gchar *new_str; @@ -203,7 +203,7 @@ StateLabel::custom(gchar chr) } State * -StateGotoCmd::done(const gchar *str) +StateGotoCmd::done(const gchar *str) throw (Error) { gint64 value; gchar **labels; |