Allow $anyconst, etc. in non-formal SV mode

This commit is contained in:
Clifford Wolf 2017-03-01 10:47:05 +01:00
parent 180d704568
commit 5b3b5ffc8c
1 changed files with 1 additions and 1 deletions

View File

@ -1319,7 +1319,7 @@ rvalue:
$$ = new AstNode(AST_IDENTIFIER, $2);
$$->str = *$1;
delete $1;
if ($2 == nullptr && formal_mode && ($$->str == "\\$initstate" || $$->str == "\\$anyconst" || $$->str == "\\$anyseq"))
if ($2 == nullptr && ($$->str == "\\$initstate" || $$->str == "\\$anyconst" || $$->str == "\\$anyseq"))
$$->type = AST_FCALL;
} |
hierarchical_id non_opt_multirange {