]> andersk Git - splint.git/blobdiff - src/macrocache.c
Added llgrammar_gen2.h
[splint.git] / src / macrocache.c
index 87aaea3f49dbd9da931569aa0d33e0cb42b72232..6a59b64bbdde7c0ce4b7d8e0ead88dde62817069 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
 */
 /*
@@ -179,7 +179,7 @@ macrocache_addEntry (macrocache s, /*@only@*/ fileloc fl, /*@only@*/ cstring def
 void
 macrocache_addComment (macrocache s, /*@only@*/ fileloc fl, /*@only@*/ cstring def)
 {
-  DPRINTF (("Add comment: %s / %s", fileloc_unparse (fl), def));
+  DPRINTF (("Macrocache add comment: %s / %s", fileloc_unparse (fl), def));
   macrocache_addGenEntry (s, fl, def, TRUE);
 }
 
@@ -236,7 +236,7 @@ static void pushString (/*@only@*/ cstring s)
       cstring fname;
       mtid = fileTable_addMacrosFile (context_fileTable ());
       
-      fname = fileName (mtid);
+      fname = fileTable_fileName (mtid);
       s_macFile = fileTable_openFile (context_fileTable (), fname, "wb+");
       
       if (s_macFile == NULL)
@@ -353,13 +353,10 @@ extern void macrocache_processUndefinedElements (macrocache m)
                }
              else
                {
-                 if (context_getFlag (FLG_SHOWSCAN))
+                 if (!fileloc_isLib (fl))
                    {
-                     if (!fileloc_isLib (fl))
-                       {
-                         lldiagmsg (message ("< checking macros %q >",
-                                             fileloc_outputFilename (fl)));
-                       }
+                     displayScan (message ("checking macros %q",
+                                           fileloc_outputFilename (fl)));
                    }
                  
                  lastfl = fl;
This page took 0.132098 seconds and 4 git commands to generate.