From 5c757590c7561f6d85b3f9011aa0695c4111b379 Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Wed, 30 Mar 2005 21:58:44 +0000 Subject: 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 --- (limited to 'include') 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 @@ -72,8 +72,17 @@ class sitecing_enflesher : public sitecing_enflesherFlexLexer { * destination filename, if needed, and open new file. * @see outs * @see outs_filename + * @see outs_close */ void outs_open(const string& nfile); + /** + * Close previously opened output stream, and rename to the 'correct' + * destination filename, if needed. + * @see outs_open + * @see outs + * @see outs_filename + */ + void outs_close(); }; #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 @@ -291,6 +291,14 @@ class sitecing_parser : public sitecing_parserFlexLexer { * The reference to the component factory object. */ component_factory& factory; + /** + * Pragma map type. + */ + typedef map pragmas_t; + /** + * Pragma's found in the component. + */ + pragmas_t pragmas; /** * @param f the component factory. -- cgit v0.9.0.2