-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathflex.h
23 lines (21 loc) · 810 Bytes
/
flex.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* The following declarations are for functions defined in
"cfunctions.fl" which access the parsing state of the flex
lexer. */
int argument_state ();
int initial_state ();
void pop_state ();
void push_in_cpp ();
void start_initial ();
const char * state_message ();
void clean_up_flex ();
#ifdef FLEX
#define ARGS cfp, yytext, yyleng
static void start_quote (cfparse_t * cfp, const char * yytext, int yyleng, int state);
static void start_function (cfparse_t * cfp);
static void do_main (cfparse_t * cfp, const char * yytext, int yyleng);
static void do_equals (cfparse_t * cfp);
static void do_semicolon (cfparse_t * cfp);
static void do_comma (cfparse_t * cfp);
static void do_print_format_argument (cfparse_t * cfp, const char * yytext,
int yyleng, struct pf * pf);
#endif /* def FLEX */