aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/parser.cpp
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2013-02-25 00:49:27 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2013-02-25 00:49:27 +0100
commit18b1ac8cd1fe81af721ed903c23813f568630d9c (patch)
tree30d73ec98c47862411772fac4df7d4e95682fccc /src/parser.cpp
parente3ea9032f6e3105d9c0a720db8bc413b4a3e016f (diff)
downloadsciteco-18b1ac8cd1fe81af721ed903c23813f568630d9c.tar.gz
EM...$ command to read macro from file and execute immediately (just like "M")
* useful for using macro libraries
Diffstat (limited to 'src/parser.cpp')
-rw-r--r--src/parser.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parser.cpp b/src/parser.cpp
index 729e718..7a534e6 100644
--- a/src/parser.cpp
+++ b/src/parser.cpp
@@ -1296,6 +1296,7 @@ StateECommand::StateECommand() : State()
{
transitions['\0'] = this;
transitions['B'] = &States::editfile;
+ transitions['M'] = &States::macro_file;
transitions['S'] = &States::scintilla_symbols;
transitions['Q'] = &States::eqcommand;
transitions['W'] = &States::savefile;