summaryrefslogtreecommitdiffabout
path: root/include/sitecing
Unidiff
Diffstat (limited to 'include/sitecing') (more/less context) (show whitespace changes)
-rw-r--r--include/sitecing/sitecing_enflesher.h9
-rw-r--r--include/sitecing/sitecing_parser.h8
2 files changed, 17 insertions, 0 deletions
diff --git a/include/sitecing/sitecing_enflesher.h b/include/sitecing/sitecing_enflesher.h
index 8bc43a0..db15bc3 100644
--- a/include/sitecing/sitecing_enflesher.h
+++ b/include/sitecing/sitecing_enflesher.h
@@ -63,17 +63,26 @@ class sitecing_enflesher : public sitecing_enflesherFlexLexer {
63 virtual int yylex(); 63 virtual int yylex();
64 64
65 /** 65 /**
66 * Put a #line anchor into output. 66 * Put a #line anchor into output.
67 */ 67 */
68 void anchor(); 68 void anchor();
69 69
70 /** 70 /**
71 * Close previously opened output stream, rename to the 'correct' 71 * Close previously opened output stream, rename to the 'correct'
72 * destination filename, if needed, and open new file. 72 * destination filename, if needed, and open new file.
73 * @see outs 73 * @see outs
74 * @see outs_filename 74 * @see outs_filename
75 * @see outs_close
75 */ 76 */
76 void outs_open(const string& nfile); 77 void outs_open(const string& nfile);
78 /**
79 * Close previously opened output stream, and rename to the 'correct'
80 * destination filename, if needed.
81 * @see outs_open
82 * @see outs
83 * @see outs_filename
84 */
85 void outs_close();
77}; 86};
78 87
79#endif /* __SITECING_SITECING_ENFLESHER_H */ 88#endif /* __SITECING_SITECING_ENFLESHER_H */
diff --git a/include/sitecing/sitecing_parser.h b/include/sitecing/sitecing_parser.h
index 22d716f..a8474f3 100644
--- a/include/sitecing/sitecing_parser.h
+++ b/include/sitecing/sitecing_parser.h
@@ -282,24 +282,32 @@ class sitecing_parser : public sitecing_parserFlexLexer {
282 /** 282 /**
283 * Verbatim declaration part. 283 * Verbatim declaration part.
284 */ 284 */
285 string decl; 285 string decl;
286 /** 286 /**
287 * Verbatim implementation part. 287 * Verbatim implementation part.
288 */ 288 */
289 string impl; 289 string impl;
290 /** 290 /**
291 * The reference to the component factory object. 291 * The reference to the component factory object.
292 */ 292 */
293 component_factory& factory; 293 component_factory& factory;
294 /**
295 * Pragma map type.
296 */
297 typedef map<string,string> pragmas_t;
298 /**
299 * Pragma's found in the component.
300 */
301 pragmas_t pragmas;
294 302
295 /** 303 /**
296 * @param f the component factory. 304 * @param f the component factory.
297 */ 305 */
298 sitecing_parser(component_factory& f); 306 sitecing_parser(component_factory& f);
299 307
300 /** 308 /**
301 * Preprocess file. 309 * Preprocess file.
302 * @param in input file name. 310 * @param in input file name.
303 */ 311 */
304 void preprocess(const string& in); 312 void preprocess(const string& in);
305 313