Prevent vectors carrying the E POLY source current from being disaggregated

This commit is contained in:
Holger Vogt 2023-12-31 13:32:45 +01:00
parent dd7b9ff273
commit 88844ba74d
1 changed files with 4 additions and 0 deletions

View File

@ -861,6 +861,10 @@ wordlist *cp_variablesubst(wordlist *wlist)
while ((s_dollar = strchr(wl->wl_word + i, '$')) != NULL) {
/* Prevent vectors carrying the E POLY source current from being disaggregated */
if (ciprefix("a$poly$", wl->wl_word))
break;
int prefix_len = (int) (s_dollar - wl->wl_word);
char *tail = span_var_expr(s_dollar + 1);