Diffstat (limited to 'include/sitecing/sitecing_enflesher.h') (more/less context) (show whitespace changes)
-rw-r--r-- | include/sitecing/sitecing_enflesher.h | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/include/sitecing/sitecing_enflesher.h b/include/sitecing/sitecing_enflesher.h index db15bc3..9eefdcc 100644 --- a/include/sitecing/sitecing_enflesher.h +++ b/include/sitecing/sitecing_enflesher.h | |||
@@ -14,4 +14,7 @@ using namespace std; | |||
14 | #define sitecing_enflesher_flexlexer_once | 14 | #define sitecing_enflesher_flexlexer_once |
15 | #undef yyFlexLexer | 15 | #undef yyFlexLexer |
16 | /** | ||
17 | * nevermind me | ||
18 | */ | ||
16 | #define yyFlexLexer sitecing_enflesherFlexLexer | 19 | #define yyFlexLexer sitecing_enflesherFlexLexer |
17 | #include <FlexLexer.h> | 20 | #include <FlexLexer.h> |
@@ -27,9 +30,9 @@ class sitecing_enflesher : public sitecing_enflesherFlexLexer { | |||
27 | public: | 30 | public: |
28 | /** | 31 | /** |
29 | * It is time to anchor output with the #line directive. | 32 | * It is time to anchor output with the \#line directive. |
30 | */ | 33 | */ |
31 | bool anchor_time; | 34 | bool anchor_time; |
32 | /** | 35 | /** |
33 | * The file currently being written is supposed to have #line | 36 | * The file currently being written is supposed to have \#line |
34 | * directives all around the place. | 37 | * directives all around the place. |
35 | */ | 38 | */ |
@@ -60,9 +63,18 @@ class sitecing_enflesher : public sitecing_enflesherFlexLexer { | |||
60 | void enflesh(); | 63 | void enflesh(); |
61 | 64 | ||
65 | /** | ||
66 | * Output parsed data | ||
67 | * @param buf pointer to the data | ||
68 | * @param size length of the buffer pointed by buf | ||
69 | */ | ||
62 | virtual void LexerOutput(const char *buf,int size); | 70 | virtual void LexerOutput(const char *buf,int size); |
71 | /** | ||
72 | * Lexer generated by flex | ||
73 | * @return zero on success | ||
74 | */ | ||
63 | virtual int yylex(); | 75 | virtual int yylex(); |
64 | 76 | ||
65 | /** | 77 | /** |
66 | * Put a #line anchor into output. | 78 | * Put a \#line anchor into output. |
67 | */ | 79 | */ |
68 | void anchor(); | 80 | void anchor(); |