1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 #ifndef OPAL_SHOW_HELP_LEX_H
21 #define OPAL_SHOW_HELP_LEX_H
22
23 #include "opal_config.h"
24
25 #ifdef malloc
26 #undef malloc
27 #endif
28 #ifdef realloc
29 #undef realloc
30 #endif
31 #ifdef free
32 #undef free
33 #endif
34
35 #include <stdio.h>
36 BEGIN_C_DECLS
37 int opal_show_help_yylex(void);
38 int opal_show_help_init_buffer(FILE *file);
39 int opal_show_help_yylex_destroy(void);
40
41 extern FILE *opal_show_help_yyin;
42 extern bool opal_show_help_parse_done;
43 extern char *opal_show_help_yytext;
44 extern int opal_show_help_yynewlines;
45
46
47
48
49 #define YY_STACK_USED 0
50 #define YY_ALWAYS_INTERACTIVE 0
51 #define YY_NEVER_INTERACTIVE 0
52 #define YY_MAIN 0
53 #define YY_NO_UNPUT 1
54 #define YY_SKIP_YYWRAP 1
55
56 enum {
57 OPAL_SHOW_HELP_PARSE_DONE,
58 OPAL_SHOW_HELP_PARSE_ERROR,
59
60 OPAL_SHOW_HELP_PARSE_TOPIC,
61 OPAL_SHOW_HELP_PARSE_MESSAGE,
62
63 OPAL_SHOW_HELP_PARSE_MAX
64 };
65 END_C_DECLS
66 #endif