+2019-09-20 7.0.8-66 Cristy <quetzlzacatenango@image...>
+ * Release ImageMagick version 7.0.8-66, GIT revision 16...
+
+2019-09-09 7.0.8-65 Cristy <quetzlzacatenango@image...>
+ * Compound statements are not permitted with FX while() (reference
+ https://github.com/ImageMagick/ImageMagick/issues/1701).
+
2019-09-15 7.0.8-65 Cristy <quetzlzacatenango@image...>
* Release ImageMagick version 7.0.8-65, GIT revision 16130:254db34:20190915.
{
if (IsFxFunction(expression,"while",5) != MagickFalse)
{
- do
- {
- alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+5,
- depth+1,beta,exception);
- } while (fabs(alpha) >= MagickEpsilon);
- FxReturn(*beta);
+ if (strchr(expression,';') != (char *) NULL)
+ (void) ThrowMagickException(exception,GetMagickModule(),OptionError,
+ "UnableToParseExpression","`%s'",expression);
+ else
+ {
+ do
+ {
+ alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+5,
+ depth+1,beta,exception);
+ } while (fabs(alpha) >= MagickEpsilon);
+ FxReturn(*beta);
+ }
}
if (LocaleCompare(expression,"w") == 0)
FxReturn(FxGetSymbol(fx_info,channel,x,y,expression,depth+1,exception));