]> andersk Git - splint.git/blobdiff - src/fileloc.c
*** empty log message ***
[splint.git] / src / fileloc.c
index 84d9e3b969163097a6bb6de81784bb1885a98a88..0c6cb2f6c734f918764c885f51a9e9bb9f0690e3 100644 (file)
@@ -26,7 +26,7 @@
 */
 /*
  * Modified by Herbert 04/19/97:
- * - added new include file portab.h.
+ * - added new include file portab.h (now in osd.h)
  * - added new private function fileloc_filenameForCpp() to handle
  *   filenames belonging to "#line" statements for OS/2 and MSDOS. It
  *   gets called by fileloc_lineMarker() and fileloc_previousLineMarker()
@@ -36,7 +36,6 @@
 # include "splintMacros.nf"
 # include "basic.h"
 # include "osd.h"
-# include "portab.h"
 
 static /*@only@*/ fileloc fileloc_createPrim (flkind p_kind, fileId p_fid, int p_line, int p_col) /*@*/ ;
 
@@ -89,7 +88,7 @@ fileloc_decColumn (fileloc f, int x)
 
   if (x > 0 && fileloc_isDefined (ret))
     {
-      llassertprint (ret->column > x, ("decColumn: %d", x));
+      llassertprint (ret->column > x, ("decColumn %s: %d", fileloc_unparse (f), x));
       ret->column -= x;
     }
 
@@ -671,7 +670,7 @@ fileloc_column (fileloc f)
 /*@only@*/ cstring
 fileloc_unparse (fileloc f)
 {
-  static in_funparse = FALSE;
+  static bool in_funparse = FALSE;
   bool parenFormat = context_getFlag (FLG_PARENFILEFORMAT); 
   bool htmlFormat = context_getFlag (FLG_HTMLFILEFORMAT);
   cstring res = cstring_undefined;
This page took 0.035565 seconds and 4 git commands to generate.