From a0555b87d9973e9e983ca6f843d02e523a75e170 Mon Sep 17 00:00:00 2001 From: Sei Lisa Date: Fri, 5 May 2017 17:17:36 +0200 Subject: [PATCH] Change stringify to admit multiple parameters (including lists and vectors). --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 12f7015..777fd12 100644 --- a/index.html +++ b/index.html @@ -143,8 +143,8 @@ h1 { background: #2080C0; color: white; padding:25px 5% 8px; margin: 4% 7% 0px;
#define VERSION 1.13
 #define REVISION b
-#define VERBATIM_STRINGIFY(x) #x
-#define STRINGIFY(x) VERBATIM_STRINGIFY(x)
+#define VERBATIM_STRINGIFY(...) #__VA_ARGS__
+#define STRINGIFY(...) VERBATIM_STRINGIFY(__VA_ARGS__)
 ...
 llOwnerSay("Program version " STRINGIFY(VERSION)
            ", revision " STRINGIFY(REVISION));