From c0ba3fbe2d80f19096cc43b5c205702b2c4e365e Mon Sep 17 00:00:00 2001 From: ceriel Date: Tue, 17 Dec 1991 11:33:08 +0000 Subject: [PATCH] Do not use '#endif xxx'; it is not allowed for ANSI C --- emtest/tests | 4 ++-- fast/driver/driver.c | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/emtest/tests b/emtest/tests index 726aec6e5..68d558a0e 100644 --- a/emtest/tests +++ b/emtest/tests @@ -54,7 +54,7 @@ OK loc -32768 bne *1 OK -#endif WS > 1 +#endif /* WS > 1 */ #if WS > 2 loc 65535 loc 65535 @@ -80,7 +80,7 @@ OK loc -2147483648 bne *1 OK -#endif WS > 2 +#endif /* WS > 2 */ TEST 003: test signed and unsigned loc MAIN 0 #if WS == 1 diff --git a/fast/driver/driver.c b/fast/driver/driver.c index f28f10a5c..37fce00e7 100644 --- a/fast/driver/driver.c +++ b/fast/driver/driver.c @@ -206,17 +206,17 @@ trapcc(sig) #define lang_suffix() "c" #define comp_name() "$H/lib.bin/c_ce" #define ansi_c_name() "$H/lib.bin/c_ce.ansi" -#endif FCC +#endif /* FCC */ #ifdef FM2 #define lang_suffix() "mod" #define comp_name() "$H/lib.bin/m2_ce" -#endif FM2 +#endif /* FM2 */ #ifdef FPC #define lang_suffix() "p" #define comp_name() "$H/lib.bin/pc_ce" -#endif FPC +#endif /* FPC */ #ifdef FCC @@ -255,7 +255,7 @@ lang_opt(str) } return 0; } -#endif FCC +#endif /* FCC */ #ifdef FM2 int @@ -290,7 +290,7 @@ lang_opt(str) } return 0; } -#endif FM2 +#endif /* FM2 */ #ifdef FPC int @@ -325,7 +325,7 @@ lang_opt(str) } return 0; } -#endif FPC +#endif /* FPC */ main(argc, argv) char *argv[]; @@ -455,11 +455,11 @@ main(argc, argv) #ifdef FM2 INCLUDE = expand_string("-I$H/lib/m2"); -#endif FM2 +#endif /* FM2 */ #ifdef FCC INCLUDE = expand_string(ansi_c ? "-I$H/include/tail_ac" : "-I$H/include/_tail_cc"); append(&COMP_FLAGS, "-L"); -#endif FCC +#endif /* FCC */ count = SRCFILES.al_argc; argvec = &(SRCFILES.al_argv[0]); while (count-- > 0) {