aboutsummaryrefslogtreecommitdiffhomepage
path: root/goto.h
diff options
context:
space:
mode:
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);