preprocessor: don't explicitly raise StopIteration
This commit is contained in:
parent
1d176f2fe4
commit
42cdad1263
@ -54,8 +54,6 @@ def generate_reduce(num):
|
|||||||
for n in range(2, 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)
|
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:
|
# Generate a variadic macro of the form:
|
||||||
@ -82,8 +80,6 @@ def generate_map(num, arity):
|
|||||||
'args': args,
|
'args': args,
|
||||||
}
|
}
|
||||||
|
|
||||||
raise StopIteration
|
|
||||||
|
|
||||||
|
|
||||||
##-----------------------------------------------------------------------------
|
##-----------------------------------------------------------------------------
|
||||||
def dispatch(name, num, arity):
|
def dispatch(name, num, arity):
|
||||||
|
Loading…
Reference in New Issue
Block a user