** right values are available in the right place.
*/
-/*drl*/
-/*@only@*/ static constraintList fcnConstraints = NULL;
-
-/*end drl*/
-
/*drl */
static /*@only@*/ constraintList implicitFcnConstraints = NULL;
sRef checkbufferConstraintClausesId (uentry ue)
{
cstring s = uentry_rawName (ue);
+
if (cstring_equalLit (s, "result"))
{
if (optgenerror
(FLG_SYNTAX,
- message ("Special clause list uses %s which is a variable and has special "
+ message ("Function clause list uses %s which is a variable and has special "
"meaning in a modifies list. (Special meaning assumed.)", s),
g_currentloc))
{
}
}
- return sRef_saveCopy( uentry_getSref (ue) );
+ return sRef_saveCopy (uentry_getSref (ue)); /*@i523 why the saveCopy? */
}
void checkModifiesId (uentry ue)
if (cstring_equalLit (s, "result"))
{
- ret = sRef_makeResult ();
+ ret = sRef_makeResult (ctype_unknown);
}
else
{