Update Syntax.md

Fix variable name
pull/1777/head
liberforce 8 years ago committed by Jussi Pakkanen
parent 7ed19902be
commit 6dc54b86b6
  1. 2
      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'
```

Loading…
Cancel
Save