X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=tests%2Fpmacros.qc;h=9bac53983cfd94803270d63b36f1ead0e5d9990c;hp=1ecee8c3a673094771981f6a3f1a3fd95ebd9007;hb=f1650c42d950400b41be53af2da1ad9867642df4;hpb=1ca3e724176898c5610d943d98915acef43214bb diff --git a/tests/pmacros.qc b/tests/pmacros.qc index 1ecee8c..9bac539 100644 --- a/tests/pmacros.qc +++ b/tests/pmacros.qc @@ -26,9 +26,8 @@ # define ALPHA(SEL) ALPHA_##SEL -# define ABC ALPHA(a)##ALPHA(b)##ALPHA(c) +# define ABC ALPHA(a)ALPHA(b)ALPHA(c) - void(string, ...) print = #1; void() main = { if (ABC == "abc") print("ABC\n");