Added provision to print (possibly in mach.h defined) modhead
on the output assmble file as the very first text.
This commit is contained in:
parent
7b745d6fb2
commit
eb3fc1d43e
2 changed files with 7 additions and 0 deletions
|
@ -111,6 +111,12 @@ in_init(filename) char *filename; {
|
|||
error("Bad format %s",filename);
|
||||
}
|
||||
|
||||
in_start() {
|
||||
#ifdef modhead
|
||||
fprintf(codefile,"%s",modhead) ;
|
||||
#endif
|
||||
}
|
||||
|
||||
in_finish() {
|
||||
}
|
||||
|
||||
|
|
|
@ -67,6 +67,7 @@ main(argc,argv) char **argv; {
|
|||
error("Usage: %s EMfile [ asfile ]",progname);
|
||||
in_init(argv[0]);
|
||||
out_init(argv[1]);
|
||||
in_start();
|
||||
codegen(startupcode,maxply,TRUE,MAXINT,0);
|
||||
in_finish();
|
||||
if (!endofprog)
|
||||
|
|
Loading…
Reference in a new issue