diff options
Diffstat (limited to 'src/parser.cpp')
-rw-r--r-- | src/parser.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/parser.cpp b/src/parser.cpp index 1843b1d..658dbe5 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -79,6 +79,9 @@ Execute::step(const gchar *macro) throw (State::Error) States::current, mode); #endif + if (interface.is_interrupted()) + throw State::Error("Interrupted"); + State::input(macro[macro_pc]); macro_pc++; } |