]> andersk Git - splint.git/blobdiff - src/fileloc.c
Fixed line numbering when multi-line macro parameters are used.
[splint.git] / src / fileloc.c
index 91bcf9e5d21e59c3f207b6e93516e4be841c19b5..063ec7ea84a186b60635e9f5ef9087c164d974f0 100644 (file)
@@ -64,6 +64,8 @@ fileloc_decColumn (fileloc f, int x)
 {
   fileloc ret = fileloc_copy (f);
 
+  llassert (x >= 0);
+
   if (x > 0 && fileloc_isDefined (ret))
     {
       llassertprint (ret->column > x, ("decColumn: %d", x));
This page took 0.032861 seconds and 4 git commands to generate.