From 94ea9d97bece30f209665032850ad0920b461170 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Mon, 21 Sep 2020 15:34:22 +0530 Subject: docs: Clarify what literal strings mean [skip ci] Someone on IRC was confused by this paragraph. --- docs/markdown/Syntax.md | 5 +++-- 1 file 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'} -- cgit v1.1