blob: 622f58c25844d0b12da5ccd74bcfeb7d798747af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#ifndef __GOTO_H
#define __GOTO_H
#include <glib.h>
#include "sciteco.h"
#include "parser.h"
/*
* Command states
*/
class StateLabel : public State {
public:
StateLabel();
private:
State *custom(gchar chr) throw (Error);
};
class StateGotoCmd : public StateExpectString {
private:
State *done(const gchar *str) throw (Error);
};
namespace States {
extern StateLabel label;
extern StateGotoCmd gotocmd;
}
void goto_table_clear(void);
#endif
|