Stupid bug AGAIN

This commit is contained in:
Reece Wilson 2022-04-01 04:31:26 +01:00
parent 68e2be1a26
commit 99b365e260
2 changed files with 9 additions and 0 deletions

View File

@ -312,6 +312,7 @@
#define _ZAUFE_FE_0_2(expandable)
#define _ZAUFE_FE_1_2(expandable)
#define _ZAUFE_FE_2_FIRST_2(first, second, ...)
#define _ZAUFE_FE_1_FIRST_2(first, second)
#define _ZAUFE_FE_2_2(expandable, X0, X1) expandable(X0, X1)
#define _ZAUFE_FE_3_THAT_2(expandable, ctx, X0, X1) expandable(ctx, X0, X1)
#define _ZAUFE_FE_3_FIRST_2(first, second, X0, X1) first(X0, X1) _ZAUFE_FE_EXPAND(_ZAUFE_FE_0_2(second))
@ -505,6 +506,7 @@
#define _ZAUFE_FE_1_3(expandable, empty)
#define _ZAUFE_FE_2_3(expandable)
#define _ZAUFE_FE_3_FIRST_3(first, second, ...)
#define _ZAUFE_FE_2_FIRST_3(first, second)
#define _ZAUFE_FE_3_3(expandable, X0, X1, X2) expandable(X0, X1, X2)
#define _ZAUFE_FE_4_THAT_3(expandable, ctx, X0, X1, X2) expandable(ctx, X0, X1, X2)
#define _ZAUFE_FE_4_FIRST_3(first, second, X0, X1, X2) first(X0, X1, X2) _ZAUFE_FE_EXPAND(_ZAUFE_FE_0_3(second))
@ -638,6 +640,7 @@
#define _ZAUFE_FE_1_4(expandable, empty)
#define _ZAUFE_FE_3_4(expandable)
#define _ZAUFE_FE_4_FIRST_4(first, second, ...)
#define _ZAUFE_FE_3_FIRST_4(first, second)
#define _ZAUFE_FE_4_4(expandable, X0, X1, X2, X3) expandable(X0, X1, X2, X3)
#define _ZAUFE_FE_5_THAT_4(expandable, ctx, X0, X1, X2, X3) expandable(ctx, X0, X1, X2, X3)
#define _ZAUFE_FE_5_FIRST_4(first, second, X0, X1, X2, X3) first(X0, X1, X2, X3) _ZAUFE_FE_EXPAND(_ZAUFE_FE_0_4(second))
@ -738,6 +741,7 @@
#define _ZAUFE_FE_1_5(expandable, empty)
#define _ZAUFE_FE_4_5(expandable)
#define _ZAUFE_FE_5_FIRST_5(first, second, ...)
#define _ZAUFE_FE_4_FIRST_5(first, second)
#define _ZAUFE_FE_5_5(expandable, X0, X1, X2, X3, X4) expandable(X0, X1, X2, X3, X4)
#define _ZAUFE_FE_6_THAT_5(expandable, ctx, X0, X1, X2, X3, X4) expandable(ctx, X0, X1, X2, X3, X4)
#define _ZAUFE_FE_6_FIRST_5(first, second, X0, X1, X2, X3, X4) first(X0, X1, X2, X3, X4) _ZAUFE_FE_EXPAND(_ZAUFE_FE_0_5(second))
@ -820,6 +824,7 @@
#define _ZAUFE_FE_1_6(expandable, empty)
#define _ZAUFE_FE_5_6(expandable)
#define _ZAUFE_FE_6_FIRST_6(first, second, ...)
#define _ZAUFE_FE_5_FIRST_6(first, second)
#define _ZAUFE_FE_6_6(expandable, X0, X1, X2, X3, X4, X5) expandable(X0, X1, X2, X3, X4, X5)
#define _ZAUFE_FE_7_THAT_6(expandable, ctx, X0, X1, X2, X3, X4, X5) expandable(ctx, X0, X1, X2, X3, X4, X5)
#define _ZAUFE_FE_7_FIRST_6(first, second, X0, X1, X2, X3, X4, X5) first(X0, X1, X2, X3, X4, X5) _ZAUFE_FE_EXPAND(_ZAUFE_FE_0_6(second))
@ -890,6 +895,7 @@
#define _ZAUFE_FE_1_7(expandable, empty)
#define _ZAUFE_FE_6_7(expandable)
#define _ZAUFE_FE_7_FIRST_7(first, second, ...)
#define _ZAUFE_FE_6_FIRST_7(first, second)
#define _ZAUFE_FE_7_7(expandable, X0, X1, X2, X3, X4, X5, X6) expandable(X0, X1, X2, X3, X4, X5, X6)
#define _ZAUFE_FE_8_THAT_7(expandable, ctx, X0, X1, X2, X3, X4, X5, X6) expandable(ctx, X0, X1, X2, X3, X4, X5, X6)
#define _ZAUFE_FE_8_FIRST_7(first, second, X0, X1, X2, X3, X4, X5, X6) first(X0, X1, X2, X3, X4, X5, X6) _ZAUFE_FE_EXPAND(_ZAUFE_FE_0_7(second))
@ -951,6 +957,7 @@
#define _ZAUFE_FE_1_8(expandable, empty)
#define _ZAUFE_FE_7_8(expandable)
#define _ZAUFE_FE_8_FIRST_8(first, second, ...)
#define _ZAUFE_FE_7_FIRST_8(first, second)
#define _ZAUFE_FE_8_8(expandable, X0, X1, X2, X3, X4, X5, X6, X7) expandable(X0, X1, X2, X3, X4, X5, X6, X7)
#define _ZAUFE_FE_9_THAT_8(expandable, ctx, X0, X1, X2, X3, X4, X5, X6, X7) expandable(ctx, X0, X1, X2, X3, X4, X5, X6, X7)
#define _ZAUFE_FE_9_FIRST_8(first, second, X0, X1, X2, X3, X4, X5, X6, X7) first(X0, X1, X2, X3, X4, X5, X6, X7) _ZAUFE_FE_EXPAND(_ZAUFE_FE_0_8(second))
@ -1006,6 +1013,7 @@
#define _ZAUFE_FE_1_9(expandable, empty)
#define _ZAUFE_FE_8_9(expandable)
#define _ZAUFE_FE_9_FIRST_9(first, second, ...)
#define _ZAUFE_FE_8_FIRST_9(first, second)
#define _ZAUFE_FE_9_9(expandable, X0, X1, X2, X3, X4, X5, X6, X7, X8) expandable(X0, X1, X2, X3, X4, X5, X6, X7, X8)
#define _ZAUFE_FE_10_THAT_9(expandable, ctx, X0, X1, X2, X3, X4, X5, X6, X7, X8) expandable(ctx, X0, X1, X2, X3, X4, X5, X6, X7, X8)
#define _ZAUFE_FE_10_FIRST_9(first, second, X0, X1, X2, X3, X4, X5, X6, X7, X8) first(X0, X1, X2, X3, X4, X5, X6, X7, X8) _ZAUFE_FE_EXPAND(_ZAUFE_FE_0_9(second))

View File

@ -109,6 +109,7 @@ forN(kMaxPairedElements, function(nElements) {
if (I2 == nElements) {
textBuffer += `#define _ZAUFE_FE_${I2}_FIRST${suffix}(first, second, ...) \n`
textBuffer += `#define _ZAUFE_FE_${i}_FIRST${suffix}(first, second) \n`
}
else
if (i == nElements) {