diff options
Diffstat (limited to '')
-rw-r--r-- | src/buildparser.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/buildparser.h b/src/buildparser.h index fd988c6..516760c 100644 --- a/src/buildparser.h +++ b/src/buildparser.h | |||
@@ -156,10 +156,24 @@ public: // Action functions | |||
156 | void addAction(); | 156 | void addAction(); |
157 | void addAction( const char *sName ); | 157 | void addAction( const char *sName ); |
158 | void addCommand( int nType ); | 158 | void addCommand( int nType ); |
159 | void addGrpCommand( const char *sGroup, int nType ); | ||
159 | 160 | ||
160 | private: // Action variables | 161 | private: // Action variables |
161 | typedef std::pair<int, BuildList> ActionTmpCmd; | 162 | typedef struct ActionTmpCmd |
163 | { | ||
164 | ActionTmpCmd( int nAct, BuildList &l ) : | ||
165 | nAct( nAct ), bGroup( false ), lCmds( l ) { }; | ||
166 | ActionTmpCmd( int nAct, const char *s ) : | ||
167 | nAct( nAct ), bGroup( true ), sGroup( s ) { }; | ||
168 | int nAct; | ||
169 | bool bGroup; | ||
170 | BuildList lCmds; | ||
171 | std::string sGroup; | ||
172 | } ActionTmpCmd; | ||
173 | //typedef std::pair<int, BuildList> ActionTmpCmd; | ||
174 | //typedef std::pair<int, std::string> ActionTmpGrpCmd | ||
162 | typedef std::list<ActionTmpCmd> ActionTmpCmdList; | 175 | typedef std::list<ActionTmpCmd> ActionTmpCmdList; |
176 | //typedef std::list<ActionTmpGrpCmd> ActionTmpGrpCmdList; | ||
163 | typedef std::pair<std::string, ActionTmpCmdList> ActionTmp; | 177 | typedef std::pair<std::string, ActionTmpCmdList> ActionTmp; |
164 | typedef std::list<ActionTmp> ActionTmpList; | 178 | typedef std::list<ActionTmp> ActionTmpList; |
165 | ActionTmpList lActions; | 179 | ActionTmpList lActions; |