Updates
[mono.git] / mcs / jay / output.c
index 81e4755c9cded63f693e16949bdc0db7f8ca7211..37a60671cb08cf0b7b523c3c1dc535880b80abd1 100644 (file)
@@ -838,7 +838,7 @@ char *name;
            ++outline;
        putchar(c);
       }
-      printf(line_format, ++outline + 1, "-");
+      printf(default_line_format, ++outline + 1);
     }
     fclose(in);
 }
@@ -911,9 +911,9 @@ output_debug()
        if (symbol_value[i] > max)
            max = symbol_value[i];
 
-       /* need yyName for yyExpecting() */
+       /* need yyNames for yyExpecting() */
 
-      printf("  protected static %s string [] yyName = {", csharp ? "" : "final");
+      printf("  protected static %s string [] yyNames = {", csharp ? "" : "final");
       symnam = (char **) MALLOC((max+1)*sizeof(char *));
       if (symnam == 0) no_space();
   
@@ -1095,7 +1095,7 @@ output_trailing_text()
        ++outline;
        putchar('\n');
     }
-    printf(line_format, ++outline + 1, "-");
+    printf(default_line_format, ++outline + 1);
 }
 
 
@@ -1129,7 +1129,7 @@ output_semantic_actions()
        putchar('\n');
     }
 
-    printf(line_format, ++outline + 1, "-");
+    printf(default_line_format, ++outline + 1);
 }