From 77173d63470084e080dcceae30e0156d39619a36 Mon Sep 17 00:00:00 2001 From: Merlin Nimier-David Date: Fri, 29 Apr 2016 14:25:39 +0200 Subject: [PATCH] mkdoc.py: fix typo in `__DOC5` macro This prevented `DOC(...)` calls with 5 arguments to resolve correctly. --- tools/mkdoc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/mkdoc.py b/tools/mkdoc.py index 1268ec749..683432073 100644 --- a/tools/mkdoc.py +++ b/tools/mkdoc.py @@ -239,7 +239,7 @@ if __name__ == '__main__': #define __DOC2(n1, n2) __doc_##n1##_##n2 #define __DOC3(n1, n2, n3) __doc_##n1##_##n2##_##n3 #define __DOC4(n1, n2, n3, n4) __doc_##n1##_##n2##_##n3##_##n4 -#define __DOC5(n1, n2, n3, n4, n5) __doc_##n1##_##n2##_##n3##_##n4_##n5 +#define __DOC5(n1, n2, n3, n4, n5) __doc_##n1##_##n2##_##n3##_##n4##_##n5 #define DOC(...) __EXPAND(__EXPAND(__CAT2(__DOC, __VA_SIZE(__VA_ARGS__)))(__VA_ARGS__)) #if defined(__GNUG__)