avoid false warnings of model not found

This commit is contained in:
Holger Vogt 2019-09-28 16:17:03 +02:00
parent ec2d885494
commit cb025a98a8
1 changed files with 3 additions and 0 deletions

View File

@ -1906,6 +1906,9 @@ static int is_a_modelname(const char *s)
{
char *st;
double testval;
/*token contains a '=' */
if (strchr(s, '='))
return FALSE;
/* first character of model name is character from alphabet */
if (isalpha_c(s[0]))
return TRUE;