Amend previous commit. Improper refactor of autogen output

This commit is contained in:
Reece Wilson 2021-10-15 01:32:35 +01:00
parent 3ce636a5b8
commit 6bd871e404
2 changed files with 322 additions and 322 deletions

File diff suppressed because it is too large Load Diff

View File

@ -83,9 +83,9 @@ forN(subn, function(nElements) {
textBuffer += `#define AU_FE_${i}${suffix}(expandable, empty)\n` textBuffer += `#define AU_FE_${i}${suffix}(expandable, empty)\n`
} else if (i % nElements == 0) { } else if (i % nElements == 0) {
if (i == nElements) { if (i == nElements) {
textBuffer += `#define AU_FE_${i}${suffix}(expandable, ${X}) expandable(${X}) AU_FE_EXPAND(AU_FE_${iM1Translated}${suffix}(prefix))\n` textBuffer += `#define AU_FE_${i}${suffix}(expandable, ${X}) expandable(${X}) AU_FE_EXPAND(AU_FE_${iM1Translated}${suffix}(expandable))\n`
} else { } else {
textBuffer += `#define AU_FE_${i}${suffix}(expandable, ${X}, ...) expandable(${X}) AU_FE_EXPAND(AU_FE_${iM1Translated}${suffix}(prefix, __VA_ARGS__))\n` textBuffer += `#define AU_FE_${i}${suffix}(expandable, ${X}, ...) expandable(${X}) AU_FE_EXPAND(AU_FE_${iM1Translated}${suffix}(expandable, __VA_ARGS__))\n`
} }
} else { } else {