Add warning message if E or H poly source has multiplier m
This commit is contained in:
parent
11978b8c8b
commit
363c4d18af
|
|
@ -480,6 +480,12 @@ static char *two2three_translate(
|
||||||
tfree(multi);
|
tfree(multi);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (multi && (type == 'e' || type == 'E' || type == 'h' || type == 'H')) {
|
||||||
|
fprintf(stderr, "Warning: multiplier m not available for E and H poly sources, ignored as\n"
|
||||||
|
" %s\n", orig_card);
|
||||||
|
tfree(multi);
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef TRACE
|
#ifdef TRACE
|
||||||
/* SDB debug statement */
|
/* SDB debug statement */
|
||||||
printf("In two2three_translate, translated statements:\n%s \n%s \n", *inst_card, *mod_card);
|
printf("In two2three_translate, translated statements:\n%s \n%s \n", *inst_card, *mod_card);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue