]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - tests/ppcat.qc
Match C's preprocessor semantics for token pasting with '##'.
[xonotic/gmqcc.git] / tests / ppcat.qc
index ca92060d2005d71570aac8827eab4713296a9e68..dc2826925701d5bdafb9cc4bf136a464239fa594 100644 (file)
@@ -8,6 +8,6 @@ REDIR(CAT(hello, world), CAT(world, hello))
 SCONS(hello, world)
 
 #define FOO(X) X##X
-#define BAR(X) FOO(X)##FOO(X)
+#define BAR(X) FOO(X)FOO(X)
 
-REDIR(BAR(hello), BAR(world))
+REDIR(BAR(hello),BAR(world))