make to work with newer version of LLgen.
authorceriel <none@none>
Mon, 24 Nov 1986 21:24:42 +0000 (21:24 +0000)
committerceriel <none@none>
Mon, 24 Nov 1986 21:24:42 +0000 (21:24 +0000)
util/topgen/topgen.g

index d3413b6..1b27f0e 100644 (file)
@@ -34,7 +34,13 @@ optim_description
                        }
        separator SPACE* mode_definitions
        separator SPACE* patterns               
-       separator user_routines
+       separator 
+                       {   register int c;
+                           fprintf(genc, linedir, lineno, inpfile);
+                           while ((c = getc(input)) != EOF) {
+                               putc(c,genc);
+                           }
+                       }
 ;
 
 parameter_line
@@ -282,14 +288,6 @@ replacement (int *n;)
        ]
 ;
 
-user_routines
-       {register c;} :
-                       {   fprintf(genc, linedir, lineno, inpfile);
-                           while ((c = getc(input)) != EOF) {
-                               putc(c,genc);
-                           }
-                       }
-;
 
 identifier
        { char *p = idbuf; } :