From f22094297b830d0f2aa721b861469334f9856408 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= Date: Mon, 30 Nov 2020 21:20:42 +0100 Subject: m4: New macro m4_unquote --- m4-utils.m4 | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'm4-utils.m4') diff --git a/m4-utils.m4 b/m4-utils.m4 index 3ead365a..3e25a51c 100644 --- a/m4-utils.m4 +++ b/m4-utils.m4 @@ -312,6 +312,15 @@ dnl -------------------------------------------------------------------------- dnl Various generic m4 things. +dnl Usage: m4_unquote(macro) +dnl +dnl Allow the argument text to be re-evaluated. This is useful for "token +dnl pasting" like m4_unquote(foo`'bar). + +define(m4_unquote, +m4_assert_onearg() +`$1') + dnl Usage: m4_length(string) dnl -- cgit v1.2.1