Kaydet (Commit) a8cd4d48 authored tarafından Serhiy Storchaka's avatar Serhiy Storchaka

Got rid of warnings "suggest braces around empty body in an ‘else’ statement"

in Parser/pgen.c.
üst 4deb950e
......@@ -136,11 +136,12 @@ addnfa(nfagrammar *gr, char *name)
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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment