]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - tests/predef_func.qc
Allow string concatenation in the parser as well, for now only for immediate strings...
[xonotic/gmqcc.git] / tests / predef_func.qc
index ec17cd07d65469e6bd1f89d075ed56d9b092ef3a..e8c260bd3f28efc0769e935ecd071e1ef66bb41e 100644 (file)
@@ -1,3 +1,9 @@
 void main() {
+#ifdef SIMPLE
     print(__FUNC__, "\n");
+#elifdef CONCATENATED
+    print(__FUNC__ "\n");
+#else
+#   error this is wrong
+#endif
 }