From 6fde1d2f014faa23b988d0db9d2437ff9745294b Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Tue, 23 Feb 2010 14:39:45 +0000 Subject: [PATCH] Make ignored keywords work properly --- source/loader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/loader.cpp b/source/loader.cpp index de9323a..54604dd 100644 --- a/source/loader.cpp +++ b/source/loader.cpp @@ -119,7 +119,7 @@ void Loader::load_sub_with(Loader &ldr) void Loader::add(const string &kwd, LoaderAction *act) { - ActionKey key(kwd, act->get_signature()); + ActionKey key(kwd, (act ? act->get_signature() : "*")); ActionMap::iterator i = actions.find(key); if(i!=actions.end()) { -- 2.45.2