init: Propagated rules to CmdContinue

This commit is contained in:
Paul Beckingham 2016-03-28 22:35:24 -04:00
parent ee89180924
commit 553cda6422
3 changed files with 3 additions and 2 deletions

View file

@ -30,6 +30,7 @@
////////////////////////////////////////////////////////////////////////////////
int CmdContinue (
Rules& rules,
Database& database,
Log& log)
{

View file

@ -36,7 +36,7 @@
int CmdClear ( );
int CmdConfig ( );
int CmdContinue ( Database&, Log&);
int CmdContinue ( Rules&, Database&, Log&);
int CmdDefault ( Rules&, Database& );
int CmdDefine (const std::vector <std::string>&, Rules&, Database&, Log&);
int CmdDiagnostics ( Rules&, Database&, Extensions&, Log&);

View file

@ -192,7 +192,7 @@ int dispatchCommand (
// command to fn mapping.
if (matches[0] == allCommands[0]) status = CmdClear ( );
else if (matches[0] == allCommands[1]) status = CmdConfig ( );
else if (matches[0] == allCommands[2]) status = CmdContinue ( database, log);
else if (matches[0] == allCommands[2]) status = CmdContinue ( rules, database, log);
else if (matches[0] == allCommands[3]) status = CmdDefine (args, rules, database, log);
else if (matches[0] == allCommands[4]) status = CmdDiagnostics ( rules, database, extensions, log);
else if (matches[0] == allCommands[5]) status = CmdExport ( database );