commit c35a7cc631f65c8834a7ff12154bb0c2a8a63733
parent adb54b6ee21d7b6c56089de7421f5e731c11912d
Author: Quentin Rameau <quinq@fifth.space>
Date: Mon, 4 Jul 2016 16:32:19 +0200
[arg.h] fix block closing count logic
This fixes a bug introduced in 72b2248a.
Diffstat:
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_