scc

Simple C99 Compiler
Log | Files | Refs | README | LICENSE

commit 0fb87919813c77b37b2aa1498882c5f176289caa
parent adb54b6ee21d7b6c56089de7421f5e731c11912d
Author: Quentin Rameau <quinq@fifth.space>
Date:   Mon,  4 Jul 2016 16:32:19 +0200

[arg.h] fix block closing logic

Diffstat:
inc/arg.h | 8++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/inc/arg.h b/inc/arg.h @@ -32,9 +32,13 @@ for (argv0 = *argv, argv++, argc--;\ #define ARGOPERAND \ }\ - } else if (argv[0][0] != '\0') + } else if (argv[0][0] != '\0') {\ + { -#define ARGEND } +#define ARGEND \ + }\ + }\ +} #define ARGC() argc_