]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - tests/pmacros.qc
Match C's preprocessor semantics for token pasting with '##'.
[xonotic/gmqcc.git] / tests / pmacros.qc
index 1ec0780ae24443cac920cddd0d190618e93bd1d9..9bac53983cfd94803270d63b36f1ead0e5d9990c 100644 (file)
@@ -26,7 +26,7 @@
 
 #   define ALPHA(SEL) ALPHA_##SEL
 
-#   define ABC ALPHA(a)##ALPHA(b)##ALPHA(c)
+#   define ABC ALPHA(a)ALPHA(b)ALPHA(c)
 
     void() main = {
         if (ABC == "abc")