[comp.windows.news] Bug fix in pspp...

siegel@hc.DSPO.GOV (josh Siegel) (02/07/89)

Apply the following to version 0.05 otherwise the comment lines
in your postscript files might get messed up...

				--Josh Siegel

---
diff -c -r pspp.n/Makefile pspp/Makefile
*** pspp.n/Makefile	Mon Feb  6 15:02:19 1989
--- pspp/Makefile	Mon Feb  6 15:01:48 1989
***************
*** 27,32 ****
--- 27,35 ----
  DOCS          = pspp.1 ptags.1
  
  all:		$(PROGRAM)
+ 	@/bin/rm -f ptags
+ 	@echo linking ptags to pspp
+ 	@ln pspp ptags
  
  ${PROGRAM}.shar: $(SRCS) ${MAKEFILE} ${DOCS} README patchlevel.h
  	shar -a README $(SRCS) ${MAKEFILE} ${DOCS} patchlevel.h> ${PROGRAM}.shar
diff -c -r pspp.n/README pspp/README
*** pspp.n/README	Mon Feb  6 15:02:19 1989
--- pspp/README	Mon Feb  6 15:00:16 1989
***************
*** 39,44 ****
--- 39,48 ----
  
  % pspp -lba foo.cps +lba foobar.ps
  
+ Note:
+ 	pspp is the same program as ptags.  Use "make install" to install
+ 	them.
+ 
  Special NeWS related features...
  
      lines beginning with cdef are assumed to be cdef calls under NeWS.
diff -c -r pspp.n/patchlevel.h pspp/patchlevel.h
*** pspp.n/patchlevel.h	Mon Feb  6 15:02:20 1989
--- pspp/patchlevel.h	Mon Feb  6 14:59:42 1989
***************
*** 1 ****
! #define PATCHLEVEL 4
--- 1 ----
! #define PATCHLEVEL 5
diff -c -r pspp.n/pspp.l pspp/pspp.l
*** pspp.n/pspp.l	Mon Feb  6 15:02:18 1989
--- pspp/pspp.l	Mon Feb  6 14:56:23 1989
***************
*** 8,13 ****
--- 8,16 ----
  You may copy the pspp kit in whole or in part as long as you don't try to
  make money off it, or pretend that you wrote it.
  
+  Version 0.06
+     Fixed comment lines getting stuck together (bug by Dave Yost).
+ 
   Version 0.05
      Removed some code that wasn't needed.
      Fixed a "cdef" indentation problem
***************
*** 288,294 ****
                  parseflag(&yytext[3]);
                  neednew=1;
              }
! <PSPP>[^^]\%.*\n    { /* 11 */
              yytext[yyleng-1]='\0';
              fprintf(yyout,"%s",yytext);
              neednew=1;
--- 291,297 ----
                  parseflag(&yytext[3]);
                  neednew=1;
              }
! <PSPP>[^^]\%.*    { /* 11 */
              yytext[yyleng-1]='\0';
              fprintf(yyout,"%s",yytext);
              neednew=1;
-- 
Josh Siegel		(siegel@hc.dspo.gov)
I like using a C-47A "puff dragon" to go shooting beer cans with.