]> andersk Git - splint.git/blobdiff - src/flagSpec.c
Changed library version constant.\a
[splint.git] / src / flagSpec.c
index f1a90f9ed93140a021c7b2c1819567c5aab67403..939a07d6e7ef211ae7049129e3e9682147c17338 100644 (file)
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on splint: splint@cs.virginia.edu
-** To report a bug: splint-bug@cs.virginia.edu
+** For information on splint: info@splint.org
+** To report a bug: splint-bug@splint.org
 ** For more information: http://www.splint.org
 */
 /*
 
 static /*@only@*/ flagSpecItem flagSpecItem_create (/*@only@*/ cstring fname)
 {
-  flagSpecItem res = (flagSpecItem) dmalloc (sizeof (*res));
+  flagSpecItem res = (flagSpecItem) dmalloc (sizeof (*res));\r
+  DPRINTF (("Creating item: [%p]", fname));\r
+  DPRINTF (("The name is: %s", fname));\r
+
   res->name = fname;
   res->code = flags_identifyFlag (fname);
   /* Invalid flag okay for now... */
@@ -48,14 +51,16 @@ static /*@only@*/ flagSpec flagSpec_create (/*@only@*/ flagSpecItem fitem,
 {
   flagSpec res = (flagSpec) dmalloc (sizeof (*res));
   res->tspec = fitem;
-  res->trest = frest;
+  res->trest = frest;\r
+  DPRINTF (("New flag spec: %s", flagSpec_unparse (res)));
   return res;
 }
 
 flagSpec flagSpec_createPlain (cstring fname)
 {
-  flagSpecItem fitem = flagSpecItem_create (fname);
-  flagSpec res = flagSpec_create (fitem, flagSpec_undefined);
+  flagSpecItem fitem = flagSpecItem_create (fname);\r
+    flagSpec res = flagSpec_create (fitem, flagSpec_undefined);
+       DPRINTF (("New flag spec: %s", flagSpec_unparse (res)));\r
   return res;
 }
 
This page took 0.044867 seconds and 4 git commands to generate.