summaryrefslogtreecommitdiffstats
path: root/tests/hawd/module.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hawd/module.cpp')
-rw-r--r--tests/hawd/module.cpp6
1 files changed, 5 insertions, 1 deletions
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()
50{ 50{
51 addModule(List()); 51 addModule(List());
52 addModule(Check()); 52 addModule(Check());
53 addModule(CheckAll());
54// addModule(Print());
55// addModule(Annotate());
56// addModule(Remove());
53} 57}
54 58
55void Module::printCommands() 59void Module::printCommands()
@@ -134,7 +138,7 @@ bool Module::matches(const QStringList &commands, State &state) const
134 return false; 138 return false;
135 } 139 }
136 140
137 QListIterator<Syntax> syntaxIt(m_syntax.children); 141 QVectorIterator<Syntax> syntaxIt(m_syntax.children);
138 const Syntax *syntax = &m_syntax; 142 const Syntax *syntax = &m_syntax;
139 QStringList tailCommands; 143 QStringList tailCommands;
140 while (commandIt.hasNext() && syntaxIt.hasNext()) { 144 while (commandIt.hasNext() && syntaxIt.hasNext()) {