aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2020-09-21 15:34:22 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2020-09-21 15:36:24 +0530
commit94ea9d97bece30f209665032850ad0920b461170 (patch)
tree01a889b2d7bff6df8322558b941c37872ea389be
parent13a8e1d26eec91b9157aa21ee97e6c0844fd77d0 (diff)
downloadmeson-94ea9d97bece30f209665032850ad0920b461170.zip
meson-94ea9d97bece30f209665032850ad0920b461170.tar.gz
meson-94ea9d97bece30f209665032850ad0920b461170.tar.bz2
docs: Clarify what literal strings mean [skip ci]
Someone on IRC was confused by this paragraph.
-rw-r--r--docs/markdown/Syntax.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/markdown/Syntax.md b/docs/markdown/Syntax.md
index bbe3dbb..64ec6db 100644
--- a/docs/markdown/Syntax.md
+++ b/docs/markdown/Syntax.md
@@ -366,8 +366,9 @@ The following methods are defined for all arrays:
## Dictionaries
Dictionaries are delimited by curly braces. A dictionary can contain an
-arbitrary number of key value pairs. Keys are required to be strings, values can
-be objects of any type. Prior to *0.53.0* keys were required to be literal strings.
+arbitrary number of key: value pairs. Keys are required to be strings, but values can
+be objects of any type. Prior to *0.53.0* keys were required to be literal
+strings, i.e., you could not use a variable containing a string value as a key.
```meson
my_dict = {'foo': 42, 'bar': 'baz'}