diff options
author | Laurin-Luis Lehning <65224843+e820@users.noreply.github.com> | 2021-03-07 23:25:39 +0100 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2021-03-10 08:55:22 -0500 |
commit | f7dd11133349cb459bf6a829b33443ab8e3694d4 (patch) | |
tree | 5cf60f6bab067f0f98b1315c577bfc1b1fe240cc /docs/markdown/Syntax.md | |
parent | 71e9909ffd9dac31504d115251ee5ab8f84420c3 (diff) | |
download | meson-f7dd11133349cb459bf6a829b33443ab8e3694d4.zip meson-f7dd11133349cb459bf6a829b33443ab8e3694d4.tar.gz meson-f7dd11133349cb459bf6a829b33443ab8e3694d4.tar.bz2 |
Some documentation language adjustments & improved error messages
Diffstat (limited to 'docs/markdown/Syntax.md')
-rw-r--r-- | docs/markdown/Syntax.md | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/docs/markdown/Syntax.md b/docs/markdown/Syntax.md index 50287b2..9ed3227 100644 --- a/docs/markdown/Syntax.md +++ b/docs/markdown/Syntax.md @@ -198,7 +198,15 @@ s = f'int: @n@, string: @m@' ``` Currently only identity-expressions are supported inside of format -strings. +strings, meaning you cannot use arbitrary Meson expressions inside of them. + +```meson +n = 10 +m = 5 + +# The following is not a valid format string +s = f'result: @n + m@' +``` ### String methods |