+/* $Header$ */
/*
- * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands.
- *
- * This product is part of the Amsterdam Compiler Kit.
- *
- * Permission to use, sell, duplicate or disclose this software must be
- * obtained in writing. Requests for such permissions may be sent to
- *
- * Dr. Andrew S. Tanenbaum
- * Wiskundig Seminarium
- * Vrije Universiteit
- * Postbox 7161
- * 1007 MC Amsterdam
- * The Netherlands
+ * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
+ * See the copyright notice in the ACK home directory, in the file "Copyright".
*
*/
/* Print a readable version of the data in the post mortem dump */
/* dmpc [-s] [-dn,m] [file] */
-#include "/usr/em/h/local.h"
+#include <local.h>
#include <stdio.h>
#include <ctype.h>
printf(" ");
}
if ( line ) {
- printf("line %D",line) ;
+ printf("line %ld",line) ;
}
if ( fileaddr || line ) printf(", ");
fseek(fcore,512L,0);
if ( tsize ) printn("Text size",tsize) ;
if ( dsize ) printn("Data size",dsize) ;
}
- if ( dflag==0 ) return 0;
+ if ( dflag==0 ) exit(0);
fatal("d-flag not implemeted (yet)");
- return 1 ;
+ exit(1) ;
}
scanargs(argc,argv) char **argv ; {
+/* $Header$ */
/*
- * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands.
- *
- * This product is part of the Amsterdam Compiler Kit.
- *
- * Permission to use, sell, duplicate or disclose this software must be
- * obtained in writing. Requests for such permissions may be sent to
- *
- * Dr. Andrew S. Tanenbaum
- * Wiskundig Seminarium
- * Vrije Universiteit
- * Postbox 7161
- * 1007 MC Amsterdam
- * The Netherlands
+ * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
+ * See the copyright notice in the ACK home directory, in the file "Copyright".
*
*/
/* Author: E.G. Keizer */
#include <stdio.h>
-#include "/usr/em/util/ass/ip_spec.h"
-#include "/usr/em/h/em_spec.h"
-#include "/usr/em/h/em_flag.h"
+#include <util/ass/ip_spec.h>
+#include <h/em_spec.h>
+#include <h/em_flag.h>
/* This program reads the human readable interpreter specification
and produces a efficient machine representation that can be
atend=0 ;
readin();
atend=1 ;
- return nerror ;
+ exit(nerror) ;
}
readin() {