[project @ 1999-06-03 12:46:02 by simonmar]
[ghc-hetmet.git] / ghc / utils / ugen / yyerror.c
diff --git a/ghc/utils/ugen/yyerror.c b/ghc/utils/ugen/yyerror.c
deleted file mode 100644 (file)
index c7314f5..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <stdio.h>
-extern int lineno;
-extern char *yytext;
-
-void yyerror(s)
-     char *s;
-{
-  fprintf(stderr, "\n%s", s);
-  if (lineno) fprintf(stderr, ", line %d, ", lineno);
-  fprintf(stderr, "on input: ");
-  fprintf(stderr, "%s\n", yytext);
-}