MacroProcessor::ResolveArguments(): skip null argument values

refs #7558
This commit is contained in:
Alexander A. Klimov 2019-10-08 17:06:06 +02:00
parent 43f7d35a45
commit e4bdcedbca
1 changed files with 2 additions and 0 deletions

View File

@ -511,6 +511,8 @@ Value MacroProcessor::ResolveArguments(const Value& command, const Dictionary::P
continue;
}
arg.SkipValue = arg.SkipValue || arg.AValue.GetType() == ValueEmpty;
args.emplace_back(std::move(arg));
}