src/hc08/gen.c, src/mcs51/gen.c, src/mcs51/rtrack.c:
fixed #
1493816: option --no-gen-comments: --no-gen-comments renamed
to --fverbose-asm, to be gcc'ish
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4754
4a8a32a2-be11-0410-ad9d-
d568d2c75423
* doc/sdccman.lyx, src/SDCCmain.c, src/SDCCglobal.h, src/ds390/gen.c,
src/hc08/gen.c, src/mcs51/gen.c, src/mcs51/rtrack.c:
fixed #1493816: option --no-gen-comments: --no-gen-comments renamed
- to --fno-verbose-asm, to be gcc'ish
+ to --fverbose-asm, to be gcc'ish
2007-04-17 Maarten Brock <sourceforge.brock AT dse.nl>
\end_inset
--no-verbose-asm
+-verbose-asm
\begin_inset LatexCommand \index{-\/-no-gen-comments}
\end_inset
\series default
- Will not include code generator comments in the generated files.
+ Include code generator comments in the generated asm files.
\end_layout
\begin_layout List
int noCcodeInAsm; /* hide c-code from asm */
int iCodeInAsm; /* show i-code in asm */
int noPeepComments; /* hide peephole optimizer comments */
- int noVerboseAsm; /* hide comments generated with gen.c */
+ int verboseAsm; /* include comments generated with gen.c */
int printSearchDirs; /* display the directories in the compiler's search path */
int vc_err_style; /* errors and warnings are compatible with Micro$oft visual studio */
int use_stdout; /* send errors to stdout instead of stderr */
#define OPTION_PACK_IRAM "--pack-iram"
#define OPTION_NO_PACK_IRAM "--no-pack-iram"
#define OPTION_NO_PEEP_COMMENTS "--no-peep-comments"
-#define OPTION_NO_VERBOSE_ASM "--fno-verbose-asm"
+#define OPTION_VERBOSE_ASM "--fverbose-asm"
#define OPTION_OPT_CODE_SPEED "--opt-code-speed"
#define OPTION_OPT_CODE_SIZE "--opt-code-size"
#define OPTION_STD_C89 "--std-c89"
{ 0, OPTION_NO_XINIT_OPT, &options.noXinitOpt, "don't memcpy initialized xram from code"},
{ 0, OPTION_NO_CCODE_IN_ASM, &options.noCcodeInAsm, "don't include c-code as comments in the asm file"},
{ 0, OPTION_NO_PEEP_COMMENTS, &options.noPeepComments, "don't include peephole optimizer comments"},
- { 0, OPTION_NO_VERBOSE_ASM, &options.noVerboseAsm, "don't include code generator comments"},
+ { 0, OPTION_VERBOSE_ASM, &options.verboseAsm, "don't include code generator comments"},
#if !OPT_DISABLE_Z80 || !OPT_DISABLE_GBZ80
{ 0, "--no-std-crt0", &options.no_std_crt0, "For the z80/gbz80 do not link default crt0.o"},
#endif
-------------------------------------------------------------------------*/
//#define D(x)
-#define D(x) do if (!options.noVerboseAsm) {x;} while(0)
+#define D(x) do if (options.verboseAsm) {x;} while(0)
#include <stdio.h>
#include <stdlib.h>
-------------------------------------------------------------------------*/
/* Use the D macro for basic (unobtrusive) debugging messages */
-#define D(x) do if (!options.noVerboseAsm) {x;} while(0)
+#define D(x) do if (options.verboseAsm) {x;} while(0)
/* Use the DD macro for detailed debugging messages */
#define DD(x)
//#define DD(x) x
Made everything static
-------------------------------------------------------------------------*/
-#define D(x) do if (!options.noVerboseAsm) {x;} while(0)
+#define D(x) do if (options.verboseAsm) {x;} while(0)
#include <stdio.h>
#include <stdlib.h>
#define DEBUG(x)
//#define DEBUG(x) x
-#define D(x) do if (!options.noVerboseAsm) {x;} while(0)
+#define D(x) do if (options.verboseAsm) {x;} while(0)
#define REGS8051_SET(idx,val) do{ \
regs8051[idx].value = (val) & 0xff; \