-rw-r--r-- | include/sitecing/sitecing_enflesher.h | 18 | ||||
-rw-r--r-- | include/sitecing/sitecing_parser.h | 16 |
2 files changed, 29 insertions, 5 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 | |||
@@ -15,2 +15,5 @@ using namespace std; | |||
15 | #undef yyFlexLexer | 15 | #undef yyFlexLexer |
16 | /** | ||
17 | * nevermind me | ||
18 | */ | ||
16 | #define yyFlexLexer sitecing_enflesherFlexLexer | 19 | #define yyFlexLexer sitecing_enflesherFlexLexer |
@@ -28,3 +31,3 @@ class sitecing_enflesher : public sitecing_enflesherFlexLexer { | |||
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 | */ |
@@ -32,3 +35,3 @@ class sitecing_enflesher : public sitecing_enflesherFlexLexer { | |||
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. |
@@ -61,3 +64,12 @@ class sitecing_enflesher : public sitecing_enflesherFlexLexer { | |||
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(); |
@@ -65,3 +77,3 @@ class sitecing_enflesher : public sitecing_enflesherFlexLexer { | |||
65 | /** | 77 | /** |
66 | * Put a #line anchor into output. | 78 | * Put a \#line anchor into output. |
67 | */ | 79 | */ |
diff --git a/include/sitecing/sitecing_parser.h b/include/sitecing/sitecing_parser.h index a53ef22..bcabc5c 100644 --- a/include/sitecing/sitecing_parser.h +++ b/include/sitecing/sitecing_parser.h | |||
@@ -20,2 +20,5 @@ using namespace sitecing; | |||
20 | #undef yyFlexLexer | 20 | #undef yyFlexLexer |
21 | /** | ||
22 | * nevermind me | ||
23 | */ | ||
21 | #define yyFlexLexer sitecing_parserFlexLexer | 24 | #define yyFlexLexer sitecing_parserFlexLexer |
@@ -313,3 +316,12 @@ class sitecing_parser : public sitecing_parserFlexLexer { | |||
313 | 316 | ||
317 | /** | ||
318 | * Output parsed data | ||
319 | * @param buf pointer to the data | ||
320 | * @param size length of the buffer pointed by buf | ||
321 | */ | ||
314 | virtual void LexerOutput(const char *buf,int size); | 322 | virtual void LexerOutput(const char *buf,int size); |
323 | /** | ||
324 | * Lexer generated by flex | ||
325 | * @return zero on success | ||
326 | */ | ||
315 | virtual int yylex(); | 327 | virtual int yylex(); |
@@ -324,3 +336,3 @@ class sitecing_parser : public sitecing_parserFlexLexer { | |||
324 | /** | 336 | /** |
325 | * Anchor the output with the #line, if we're not in the text output mode. | 337 | * Anchor the output with the \#line, if we're not in the text output mode. |
326 | */ | 338 | */ |
@@ -328,3 +340,3 @@ class sitecing_parser : public sitecing_parserFlexLexer { | |||
328 | /** | 340 | /** |
329 | * Anchor the output with the #line directive, changing to the appropriate output mode if needed. | 341 | * Anchor the output with the \#line directive, changing to the appropriate output mode if needed. |
330 | */ | 342 | */ |