commit | 6a35bf6ca051f07edf0044278a1bf71b88111320 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Sat Oct 08 09:58:08 2016 +0300 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Sat Oct 08 09:58:08 2016 +0300 |
tree | b4839087ef33c32885cfc968f875bb1a8461df48 | |
parent | 0ea51b18d547e555ffa99df60341431b6b85c0a9 [diff] [blame] |
Silenced compiler warnings.
diff --git a/Parser/pgen.c b/Parser/pgen.c index b2f8470..f3031ae 100644 --- a/Parser/pgen.c +++ b/Parser/pgen.c
@@ -136,11 +136,12 @@ static char REQNFMT[] = "metacompile: less than %d children\n"; -#define REQN(i, count) \ +#define REQN(i, count) do { \ if (i < count) { \ fprintf(stderr, REQNFMT, count); \ Py_FatalError("REQN"); \ - } else + } \ +} while (0) #else #define REQN(i, count) /* empty */