Bugfix: Ignore missing macro dicts.

This commit is contained in:
Gunnar Beutner 2013-02-10 01:56:26 +01:00
parent fc6df0ecbd
commit 7484b4682a
1 changed files with 3 additions and 0 deletions

View File

@ -62,6 +62,9 @@ Dictionary::Ptr MacroProcessor::MakeEnvironment(const vector<Dictionary::Ptr>& d
Dictionary::Ptr result = boost::make_shared<Dictionary>();
BOOST_REVERSE_FOREACH(const Dictionary::Ptr& dict, dicts) {
if (!dict)
continue;
String key;
Value value;
BOOST_FOREACH(tie(key, value), dict) {