When the procedure name stack overflowed a new line didn't get printed
[unix-history] / usr / src / usr.bin / vgrind / vfontedpr.c
index 5153eec..605411c 100644 (file)
@@ -311,11 +311,11 @@ putScp(os)
     if (isproc(s)) {
        ps("'FN ");
        ps(pname);
     if (isproc(s)) {
        ps("'FN ");
        ps(pname);
+        ps("\n");
        if (psptr < PSMAX) {
            ++psptr;
            strncpy (pstack[psptr], pname, PNAMELEN);
            pstack[psptr][PNAMELEN] = NULL;
        if (psptr < PSMAX) {
            ++psptr;
            strncpy (pstack[psptr], pname, PNAMELEN);
            pstack[psptr][PNAMELEN] = NULL;
-           ps("\n");
            plstack[psptr] = blklevel;
        }
     } 
            plstack[psptr] = blklevel;
        }
     }