summaryrefslogtreecommitdiff
path: root/as/pops.c
diff options
context:
space:
mode:
Diffstat (limited to 'as/pops.c')
-rw-r--r--as/pops.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/as/pops.c b/as/pops.c
index eb617f2..68e7f45 100644
--- a/as/pops.c
+++ b/as/pops.c
@@ -420,10 +420,10 @@ pfv func;
}
}
-PUBLIC void fatalerror(errnum)
-error_pt errnum;
+PUBLIC void fatalerror(err_str)
+char * err_str;
{
- error(errnum);
+ error(err_str);
skipline();
listline();
finishup();
@@ -432,8 +432,8 @@ error_pt errnum;
/* swap position with label position, do error, put back posn */
/* also clear label ptr */
-PUBLIC void labelerror(errnum)
-error_pt errnum;
+PUBLIC void labelerror(err_str)
+char * err_str;
{
struct sym_s *oldgsymptr;
char *oldlineptr;
@@ -447,7 +447,7 @@ error_pt errnum;
lineptr = linebuf;
getsym(); /* 1st symbol is label or symbol after
* missing one */
- error(errnum);
+ error(err_str);
gsymptr = oldgsymptr;
lineptr = oldlineptr;
sym = oldsym;