scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit 7856bba73bad3e34ae38faf156c8c0f12c79135f
parent 07f70acdb3d9ceacf52f66dcfe6c4d2c0b6059eb
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Thu, 26 Dec 2024 16:27:31 +0100

cc2: Add debug parameter

This parameter will be used later to enable debug when NDEBUG
is not defined.

Diffstat:
Msrc/cmd/scc-cc/cc2/main.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/cmd/scc-cc/cc2/main.c b/src/cmd/scc-cc/cc2/main.c @@ -48,6 +48,9 @@ int main(int argc, char *argv[]) { ARGBEGIN { + case 'd': + DBGON(); + break; default: usage(); } ARGEND