preprocessor: don't explicitly raise StopIteration

This commit is contained in:
Danny Robson 2018-08-10 13:40:16 +10:00
parent 1d176f2fe4
commit 42cdad1263

View File

@ -54,8 +54,6 @@ def generate_reduce(num):
for n in range(2, num):
yield "#define REDUCE_1_%04u(F,X,Y,...) REDUCE_1_%04u(F,F(X,Y),__VA_ARGS__)" % (n, n - 1)
raise StopIteration
###############################################################################
# Generate a variadic macro of the form:
@ -82,8 +80,6 @@ def generate_map(num, arity):
'args': args,
}
raise StopIteration
##-----------------------------------------------------------------------------
def dispatch(name, num, arity):