From cef5cab23c6fb53e4ddf0d2460cb2258ef64f6d5 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Thu, 25 Feb 2021 09:59:13 -0500 Subject: Support multiple args in error() Seems it got forgotten when that was added to warnings() and message(). Fixes: #8414. --- docs/markdown/Reference-manual.md | 3 +++ docs/markdown/snippets/error_msg.md | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 docs/markdown/snippets/error_msg.md (limited to 'docs/markdown') diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index 3693e57..4fb0b63 100644 --- a/docs/markdown/Reference-manual.md +++ b/docs/markdown/Reference-manual.md @@ -580,6 +580,9 @@ Returns a [disabler object](#disabler-object). Print the argument string and halts the build process. +*(since 0.58.0)* Can take more than one argument that will be separated by +space. + ### environment() ``` meson diff --git a/docs/markdown/snippets/error_msg.md b/docs/markdown/snippets/error_msg.md new file mode 100644 index 0000000..a17372f --- /dev/null +++ b/docs/markdown/snippets/error_msg.md @@ -0,0 +1,4 @@ +## `error()` with multiple arguments + +Just like `warning()` and `message()`, `error()` can now take more than one +argument that will be separated by space. -- cgit v1.1