From 1b29e4a6e8fb9a27a96bdfadb69b12cc2436db6e Mon Sep 17 00:00:00 2001 From: Aaron Seigo Date: Tue, 9 Dec 2014 22:56:15 +0100 Subject: add a checkall --- tests/hawd/module.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests/hawd/module.cpp') diff --git a/tests/hawd/module.cpp b/tests/hawd/module.cpp index d4c3059..eb45def 100644 --- a/tests/hawd/module.cpp +++ b/tests/hawd/module.cpp @@ -50,6 +50,10 @@ void Module::loadModules() { addModule(List()); addModule(Check()); + addModule(CheckAll()); +// addModule(Print()); +// addModule(Annotate()); +// addModule(Remove()); } void Module::printCommands() @@ -134,7 +138,7 @@ bool Module::matches(const QStringList &commands, State &state) const return false; } - QListIterator syntaxIt(m_syntax.children); + QVectorIterator syntaxIt(m_syntax.children); const Syntax *syntax = &m_syntax; QStringList tailCommands; while (commandIt.hasNext() && syntaxIt.hasNext()) { -- cgit v1.2.3