summaryrefslogtreecommitdiffabout
path: root/include/sitecing
authorMichael Krelin <hacker@klever.net>2005-03-30 21:58:44 (UTC)
committer Michael Krelin <hacker@klever.net>2005-03-30 21:58:44 (UTC)
commit5c757590c7561f6d85b3f9011aa0695c4111b379 (patch) (unidiff)
treee0bf20ca58b3e7bd9cc4eda54db5674ba1d71db0 /include/sitecing
parent3ddbfeafde93d1aab16a710498d86eef4e787406 (diff)
downloadsitecing-5c757590c7561f6d85b3f9011aa0695c4111b379.zip
sitecing-5c757590c7561f6d85b3f9011aa0695c4111b379.tar.gz
sitecing-5c757590c7561f6d85b3f9011aa0695c4111b379.tar.bz2
1. fixed a bug just introduced, preventing the last skeleton-generated file
from being written. 2. introduced pragma directive and pragma main=class 3. minor changes of no importance
Diffstat (limited to 'include/sitecing') (more/less context) (ignore 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
@@ -67,13 +67,22 @@ class sitecing_enflesher : public sitecing_enflesherFlexLexer {
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
@@ -286,16 +286,24 @@ class sitecing_parser : public sitecing_parserFlexLexer {
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.