fixed a spelling mistake

This commit is contained in:
Marc Zinnschlag 2013-03-09 15:39:49 +01:00
parent 2cc20c67cb
commit b255472cc6

View file

@ -53,7 +53,7 @@ namespace Interpreter
virtual void execute (Runtime& runtime, unsigned int arg0) virtual void execute (Runtime& runtime, unsigned int arg0)
{ {
if (arg0==0) if (arg0==0)
throw std::logic_error ("inifite loop"); throw std::logic_error ("infinite loop");
runtime.setPC (runtime.getPC()+arg0-1); runtime.setPC (runtime.getPC()+arg0-1);
} }
@ -66,7 +66,7 @@ namespace Interpreter
virtual void execute (Runtime& runtime, unsigned int arg0) virtual void execute (Runtime& runtime, unsigned int arg0)
{ {
if (arg0==0) if (arg0==0)
throw std::logic_error ("inifite loop"); throw std::logic_error ("infinite loop");
runtime.setPC (runtime.getPC()-arg0-1); runtime.setPC (runtime.getPC()-arg0-1);
} }