Commit dc1cf042 authored by Christophe Geuzaine's avatar Christophe Geuzaine

better message for deprecated Compound

parent 3a011384
This diff is collapsed.
......@@ -2170,14 +2170,16 @@ Shape :
}
| tCompound GeoEntity123 '(' FExpr ')' tAFFECT ListOfDouble tEND
{
yymsg(0, "Compounds entities are deprecated: use Compound meshing constraints instead");
yymsg(0, "Compounds entities are deprecated: use Compound meshing constraints "
"instead, i.e. Compound %s { ... };", ($2 == 2) ? "Surface" : "Line");
$$.Type = 0;
$$.Num = 0;
}
| tCompound GeoEntity123 '(' FExpr ')' tAFFECT ListOfDouble tSTRING
'{' RecursiveListOfListOfDouble '}' tEND
{
yymsg(0, "Compounds entities are deprecated: use Compound meshing constraints instead");
yymsg(0, "Compounds entities are deprecated: use Compound meshing constraints "
"instead, i.e. Compound %s { ... };", ($2 == 2) ? "Surface" : "Line");
$$.Type = 0;
$$.Num = 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment