/* handle respect-parenthesis */
if ( IsMagickTrue(GetImageOption(cli_wand->wand.image_info,
"respect-parenthesis")) != MagickFalse )
- option="{";
+ option="{"; /* push image settings too */
else
return;
}
for ( ; node != (Stack *)NULL; node=node->next)
size++;
if ( size >= MAX_STACK_DEPTH )
- CLIWandExceptionReturn(OptionError,"ParenthesisNestedTooDeeply",option);
+ CLIWandExceptionReturn(OptionError,"CurlyBracesNestedTooDeeply",option);
node=(Stack *) AcquireMagickMemory(sizeof(*node));
if (node == (Stack *) NULL)
CLIWandExceptionReturn(ResourceLimitFatalError,
cli_wand->wand.images= (Image *)node->data;
node = (Stack *)RelinquishMagickMemory(node);
- /* handle respect-parenthesis - of the previous 'push' settings */
+ /* handle respect-parenthesis - of the previous 'pushed' settings */
node = cli_wand->image_info_stack;
if ( node != (Stack *)NULL)
{
if (IsMagickTrue(GetImageOption((ImageInfo *)node->data,
"respect-parenthesis")) != MagickFalse )
- { option="}"; fprintf(stderr, "close\n"); }
+ option="}"; /* pop image settings too */
else
return;
}
node = (void *)cli_wand->image_info_stack;
if ( node == (Stack *)NULL)
- CLIWandExceptionReturn(OptionError,"UnbalancedParenthesis",option);
+ CLIWandExceptionReturn(OptionError,"UnbalancedCurlyBraces",option);
cli_wand->image_info_stack = node->next;
(void) DestroyImageInfo(cli_wand->wand.image_info);
</module>
<option>
<error>
+ <message name="ClutImageRequired">
+ color lookup table image requise
+ </message>
<message name="CompositeImageRequired">
image composite requise
</message>
+ <message name="CurlyBrasesNestedTooDeeply">
+ trop d'imbrication de curly braces
+ </message>
<message name="DepreciatedOption">
option est obsolète
</message>