]> andersk Git - splint.git/blobdiff - src/cgrammar.y
EXtensive code clean up. Almost passes LCLint.
[splint.git] / src / cgrammar.y
index 6c057b13e48046f7d74ad13b005289fe1dd11b11..0857a900f84158bbc459d555f53446dc803dcbc5 100644 (file)
@@ -69,7 +69,7 @@ void yyerror (char *s);
 # undef realloc
 # endif
 
-void checkandsetBufState(idDecl id, exprNode is);
+
 %}
 
 %union
@@ -448,7 +448,7 @@ context_setProtectVars (); enterParamsTemp ();
 
 BufConstraintList
 : BufConstraint BufConstraintList{ $$ = constraintList_add ($2, $1); }
-| BufConstraint {constraintList c; c = constraintList_new(); c = constraintList_add (c, $1); $$ = c}
+| BufConstraint {constraintList c; c = constraintList_makeNew(); c = constraintList_add (c, $1); $$ = c}
 
 BufConstraint
 :  BufConstraintExpr relationalOp BufConstraintExpr TSEMI  {
This page took 0.02888 seconds and 4 git commands to generate.