Fixed display problem in an error message
This commit is contained in:
parent
acb3c57332
commit
6d04f60573
1 changed files with 2 additions and 2 deletions
|
|
@ -853,12 +853,12 @@ void instance_t::end_apply_directive(char * kind)
|
|||
|
||||
if (context.apply_stack.size() <= 1)
|
||||
throw_(std::runtime_error,
|
||||
_("'end apply%1' found, but no enclosing 'apply%2' directive")
|
||||
_("'end apply %1' found, but no enclosing 'apply %2' directive")
|
||||
<< name << name);
|
||||
|
||||
if (name != " " && name != context.apply_stack.front().label)
|
||||
throw_(std::runtime_error,
|
||||
_("'end apply%1' directive does not match 'apply %2' directive")
|
||||
_("'end apply %1' directive does not match 'apply %2' directive")
|
||||
<< name << context.apply_stack.front().label);
|
||||
|
||||
context.apply_stack.pop_front();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue