From 9d8b90f654b5777f5c9d402fda445088f9fe374f Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Mon, 19 Nov 2012 14:10:40 +0100 Subject: Scintilla command ES accepting string parameter: if empty, pop value from stack otherwise pass string --- parser.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'parser.h') diff --git a/parser.h b/parser.h index 936e530..3047c50 100644 --- a/parser.h +++ b/parser.h @@ -187,6 +187,11 @@ private: State *custom(gchar chr) throw (Error); }; +class StateScintilla : public StateExpectString { +private: + State *done(const gchar *str) throw (Error); +}; + class StateInsert : public StateExpectString { private: void initial(void) throw (Error); @@ -228,6 +233,7 @@ namespace States { extern StateFlowCommand flowcommand; extern StateCondCommand condcommand; extern StateECommand ecommand; + extern StateScintilla scintilla; extern StateInsert insert; extern StateSearch search; -- cgit v1.2.3