aboutsummaryrefslogtreecommitdiffhomepage
path: root/goto.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-11 07:49:06 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-11 07:49:06 +0100
commite6d7baf883ef3e75a9e5bd616a59df9405f63872 (patch)
treeec19062976da870780c50bc47056c0ab74c733eb /goto.h
parentef8196da650f70758e1366cb7be1a799f1455f8e (diff)
downloadsciteco-e6d7baf883ef3e75a9e5bd616a59df9405f63872.tar.gz
added <n>O...$ GOTO command
Diffstat (limited to 'goto.h')
-rw-r--r--goto.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/goto.h b/goto.h
index b2faecd..84157b1 100644
--- a/goto.h
+++ b/goto.h
@@ -18,8 +18,14 @@ private:
State *custom(gchar chr);
};
+class StateGotoCmd : public StateExpectString {
+private:
+ State *done(const gchar *str);
+};
+
namespace States {
- extern StateLabel label;
+ extern StateLabel label;
+ extern StateGotoCmd gotocmd;
}
void goto_table_clear(void);