]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/sparc: Allow TRANS macro with no extra arguments
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 5 Sep 2025 09:30:19 +0000 (11:30 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 26 Sep 2025 06:58:24 +0000 (09:58 +0300)
commit307f5bb43f9ed7dce7574e5765aa0713d3ffd167
treee71ca9a469c74945f28bce02d94420e3d7e6526c
parent4e95da030501d32183bb3c695e30a2c7c14c604a
target/sparc: Allow TRANS macro with no extra arguments

Use ## to drop the preceding comma if __VA_ARGS__ is empty.

Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
(cherry picked from commit b7cd0a1821adf9906c5edb248394bb2a95482656)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
target/sparc/translate.c