aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
diff options
context:
space:
mode:
Diffstat (limited to 'rcfile_y.y')
-rw-r--r--rcfile_y.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/rcfile_y.y b/rcfile_y.y
index ab883419..8f93c350 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -15,7 +15,7 @@
#include <config.h>
#include <stdio.h>
-extern char *prc_pathname;
+extern char *poprcfile;
extern int prc_lineno;
extern int prc_errflag;
extern char *yytext;
@@ -83,6 +83,6 @@ proto: PROTO_POP2
yyerror (s)
char *s;
{
- fprintf(stderr,"%s line %d: %s at %s\n", prc_pathname, prc_lineno, s, yytext);
+ fprintf(stderr,"%s line %d: %s at %s\n", poprcfile, prc_lineno, s, yytext);
prc_errflag++;
}