aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorliberforce <liberforce@freeside.fr>2017-05-10 17:55:04 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2017-05-11 00:13:51 +0300
commit6dc54b86b6f4ef5feb5af796a1eb3c7cadeb7756 (patch)
tree715e351678a73dcf9cae7f68505c41e0fe922fa5
parent7ed19902be3f866ff599822b56cea5a34ec661d1 (diff)
downloadmeson-6dc54b86b6f4ef5feb5af796a1eb3c7cadeb7756.zip
meson-6dc54b86b6f4ef5feb5af796a1eb3c7cadeb7756.tar.gz
meson-6dc54b86b6f4ef5feb5af796a1eb3c7cadeb7756.tar.bz2
Update Syntax.md
Fix variable name
-rw-r--r--docs/markdown/Syntax.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/markdown/Syntax.md b/docs/markdown/Syntax.md
index 6f43887..2a7428b 100644
--- a/docs/markdown/Syntax.md
+++ b/docs/markdown/Syntax.md
@@ -103,7 +103,7 @@ Strings also support a number of other methods that return transformed copies.
```meson
# Similar to the Python str.strip(). Removes leading/ending spaces and newlines
define = ' -Dsomedefine '
-stripped_define = target.strip()
+stripped_define = define.strip()
# 'stripped_define' now has the value '-Dsomedefine'
```