summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/markdown/Syntax.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/markdown/Syntax.md b/docs/markdown/Syntax.md
index 59ec5f7ba..05f503880 100644
--- a/docs/markdown/Syntax.md
+++ b/docs/markdown/Syntax.md
@@ -150,6 +150,8 @@ combined = str1 + '_' + str2 # combined is now abc_xyz
You can concatenate any two strings using `/` as an operator to build paths.
This will always use `/` as the path separator on all platforms.
+If any one of the individual segments is an absolute path, all segments before
+it are dropped. For example:
```meson
joined = '/usr/share' / 'projectname' # => /usr/share/projectname