Diff of /Backend/If1opt/pprint.c [32eb06] .. [28e18d]  Maximize  Restore

Switch to side-by-side view

--- a/Backend/If1opt/pprint.c
+++ b/Backend/If1opt/pprint.c
@@ -1,10 +1,20 @@
-/* pprint.c,v
+/**************************************************************************/
+/* FILE   **************          pprint.c         ************************/
+/**************************************************************************/
+/* Author: Dave Cann                                                      */
+/* Update: Patrick Miller -- Ansi support (Dec 2000)                      */
+/* Copyright (C) University of California Regents                         */
+/**************************************************************************/
+/*
+ * $Log:
+ *
  * Revision 12.7  1992/11/04  22:04:59  miller
  * Initial revision
  *
  * Revision 12.7  1992/10/21  18:08:39  miller
  * Initial RCS Version by Cann
- * */
+ */
+/**************************************************************************/
 
 #include "world.h"
 
@@ -28,13 +38,13 @@
 /*          ENCOUNTERED FILE IS FOR IF1 INPUT.  THE SECOND ENCOUNTERED    */
 /*          FILE IS FOR IF1 OUTPUT.  ANY OTHER FILES ON THE COMMAND LINE  */
 /*          CAUSE AN ERROR MESSAGE TO BE PRINTED.                         */
-/*									  */
-/*	    FILES:							  */
-/*		0:	-> input IF1					  */
-/*		1:	-> pretty-printed IF1				  */
-/*									  */
-/*          OPTIONS:							  */
-/*		-	-> Skip a standard file (in, out, etc..)	  */
+/*                                                                        */
+/*          FILES:                                                        */
+/*              0:      -> input IF1                                      */
+/*              1:      -> pretty-printed IF1                             */
+/*                                                                        */
+/*          OPTIONS:                                                      */
+/*              -       -> Skip a standard file (in, out, etc..)          */
 /**************************************************************************/
 
 static void ParseCommandLine( argc, argv )
@@ -51,9 +61,9 @@
             switch ( fmode ) {
                 case 0: 
                     if ( (fd = fopen( c, "r" )) == NULL )
-			Error2( "CAN'T OPEN", c );
+                        Error2( "CAN'T OPEN", c );
 
-		    input = fd;
+                    input = fd;
 
                     AssignSourceFileName( c );
 
@@ -62,11 +72,11 @@
 
                 case 1:
                     if ( (fd = fopen( c, "w" )) == NULL )
-			Error2( "CAN'T OPEN", c );
+                        Error2( "CAN'T OPEN", c );
 
-		    output = fd;
+                    output = fd;
 
-		    fmode++;
+                    fmode++;
                     break;
 
                 default:
@@ -78,7 +88,7 @@
 
         switch ( *( ++c ) ) {
             case '\0':
-		fmode++;
+                fmode++;
                 break;
 
             default: