return false;
}
- lex_error (lexer, "Nested variables are not yet implemented"); return false;
- return true;
+ lex_error (lexer, "Nested variables are not yet implemented");
+ return false;
}
/* A design term is an interaction OR a nested variable */
if (parse_design_interaction (lexer, glm->dict, &iact))
{
/* Interaction parsing successful. Add to list of interactions */
- glm->interactions = xrealloc (glm->interactions, sizeof *glm->interactions * ++glm->n_interactions);
+ glm->interactions = xrealloc (glm->interactions, sizeof (*glm->interactions) * ++glm->n_interactions);
glm->interactions[glm->n_interactions - 1] = iact;
return true;
}
return parse_design_spec (lexer, glm);
}
-