]> andersk Git - splint.git/blobdiff - src/stateClause.c
Fixed all /*@i...@*/ tags (except 1).
[splint.git] / src / stateClause.c
index 5b7fbce3c6f9eb496fe2afbeccbbf9ea34ac59bf..cf2faf03251e90d60e5ee09e21283570743614a8 100644 (file)
@@ -60,6 +60,7 @@ bool stateClause_isMetaState (stateClause s)
   else
     return FALSE;
 }
+/*end drl added*/
 
 stateClause 
 stateClause_create (lltok tok, qual q, sRefSet s) 
@@ -758,7 +759,7 @@ static sRefModVal stateClause_getStateFunction (stateClause cl)
     }
   else if (qual_isAliasQual (sq))
     {
-      return (sRefModVal) sRef_setAliasKind; /*@i23 complete? @*/
+      return (sRefModVal) sRef_setAliasKind; 
     }
   else
     {
@@ -776,9 +777,12 @@ int stateClause_getStateParameter (stateClause cl)
   llassert (cl->kind == SP_QUAL || cl->kind == SP_GLOBAL);
 
   sq = cl->squal;
-
-  /*@+relaxtypes@*/ /*@i523 this is wrong, remove the enumint@*/
-  /*@+enumint@*/
+  
+  /*@+enumint@*/ 
+  /*
+  ** Since this can be many different types of state kinds, we need to allow all
+  ** enum's to be returned as int.
+  */
 
   if (qual_isNotNull (sq))
     {
This page took 0.587174 seconds and 4 git commands to generate.