]> andersk Git - splint.git/blobdiff - src/cgrammar.y
Apparently splint does not correctly handle the case in which a #defined constant...
[splint.git] / src / cgrammar.y
index 4c7ed2c65feae72498fb9ff2283ec1faa32d0db7..9ac04c63153afcf9dc2e79b9be489cfb53b1c54e 100644 (file)
@@ -697,7 +697,8 @@ conditionTag
 fcnDefHdrAux
  : namedDecl                               
    { 
-     qtype qint = qtype_create (ctype_int);
+     /**!!! deal with fred; fred (int); declarations! **/
+     qtype qint = qtype_create (ctype_int); 
      $$ = idDecl_fixBase ($1, qint);
      qtype_free (qint);
    }
@@ -1231,7 +1232,7 @@ typeSpecifier
  | CGFLOAT NotType
  | CDOUBLE NotType
  | CVOID NotType 
- | QANYTYPE NotType              { $$ = ctype_anytype; }
+ | QANYTYPE NotType              { $$ = ctype_makeAnytype (); }
  | QINTEGRALTYPE NotType         { $$ = ctype_anyintegral; }
  | QUNSIGNEDINTEGRALTYPE NotType { $$ = ctype_unsignedintegral; }
  | QSIGNEDINTEGRALTYPE NotType   { $$ = ctype_signedintegral; }
This page took 0.037253 seconds and 4 git commands to generate.