Commit a7675b8e authored by Christophe Geuzaine's avatar Christophe Geuzaine

'?' test in enumeration to remove choices depending on test

parent 8b1d0d30
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -8534,6 +8534,13 @@ Enumeration :
doubleXstring v = {$3, $5};
List_Add($$, &v);
}
| Enumeration ',' FExpr '?' FExpr tDEF CharExpr
{
if($3){
doubleXstring v = {$5, $7};
List_Add($$, &v);
}
}
| MultiFExpr tDEF String__Index '(' ')'
{
$$ = List_Create(20,20,sizeof(doubleXstring));
......
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