diff options
Diffstat (limited to 'gcc/ada/misc.c')
-rw-r--r-- | gcc/ada/misc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/ada/misc.c b/gcc/ada/misc.c index eaab916..4d171fc 100644 --- a/gcc/ada/misc.c +++ b/gcc/ada/misc.c @@ -75,7 +75,7 @@ #include "gigi.h" #include "adadecode.h" #include "opts.h" -#include "aoptions.h" +#include "options.h" extern FILE *asm_out_file; extern int save_argc; @@ -238,7 +238,7 @@ gnat_handle_option (size_t scode, const char *arg, int value ATTRIBUTE_UNUSED) switch (code) { default: - return 0; + abort(); case OPT_I: q = xmalloc (sizeof("-I") + strlen (arg)); @@ -294,7 +294,7 @@ gnat_init_options () gnat_argv[0] = save_argv[0]; /* name of the command */ gnat_argc = 1; - return 0; + return CL_ADA; } /* Here is the function to handle the compiler error processing in GCC. */ |