]> andersk Git - splint.git/blobdiff - src/cgrammar.y
Fixed bug #697722 Assert error / global
[splint.git] / src / cgrammar.y
index cbd9e15c62c87b64c015cc839dade28c68d70194..e91de36edfd60b44f0966d3a1b504ead550c68e5 100644 (file)
@@ -874,14 +874,16 @@ specClauseListExpr
 ;
 
 optSpecClauseList
- : /* empty */ { $$ = sRefSet_undefined }
+ : /* empty */ { DPRINTF ((message("Empty optSpecClauseList") )); $$ = sRefSet_undefined }
  | specClauseList
  ;
 
 specClauseList
   : specClauseListExpr                       
     { if (sRef_isValid ($1)) { $$ = sRefSet_single ($1); } 
-      else { $$ = sRefSet_undefined; } 
+      else {
+       DPRINTF((message("returning sRefSEt_undefined ")  ));
+       $$ = sRefSet_undefined; } 
     }
   | specClauseList TCOMMA specClauseListExpr 
     { if (sRef_isValid ($3))
@@ -956,6 +958,7 @@ offsetofExpr
 sizeofExpr
  : IsType { context_setProtectVars (); } 
    sizeofExprAux { context_sizeofReleaseVars (); $$ = $3; }
+;
 
 processSizeof: {context_enterSizeof()};
 
This page took 0.628582 seconds and 4 git commands to generate.