Accept -gdb option

This commit is contained in:
ceriel
1992-03-27 17:36:49 +00:00
parent ea2e95a627
commit b2cca56e16
14 changed files with 188 additions and 33 deletions

View File

@@ -29,6 +29,7 @@ char *filename; /* Name of input file */
char *out_file; /* Name of output file */
int errors; /* Number of errors */
int debug;
int __gdb_flag;
extern char *C_error;
main(argc,argv)
@@ -49,6 +50,10 @@ main(argc,argv)
debug= 1;
continue;
}
if (! strcmp(av[0], "-gdb")) {
__gdb_flag = 1;
continue;
}
if (!filename)
{
if (strcmp(*av, "-"))