aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Syntax.md
diff options
context:
space:
mode:
authorTim <tdhutt@gmail.com>2017-06-03 16:54:20 +0100
committerJussi Pakkanen <jpakkane@gmail.com>2017-06-03 21:30:30 +0300
commitb54e1d29fe00efc7128fbf98d606d77f86d3703e (patch)
treeac755e41890bfafea7554f9cb45a7a70b75cf3c7 /docs/markdown/Syntax.md
parent3f6c55b9b3ac5a19d30cf2b5a33af906c5885cf0 (diff)
downloadmeson-b54e1d29fe00efc7128fbf98d606d77f86d3703e.zip
meson-b54e1d29fe00efc7128fbf98d606d77f86d3703e.tar.gz
meson-b54e1d29fe00efc7128fbf98d606d77f86d3703e.tar.bz2
Add a note about multi-line statements by ending the line with \
Diffstat (limited to 'docs/markdown/Syntax.md')
-rw-r--r--docs/markdown/Syntax.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/markdown/Syntax.md b/docs/markdown/Syntax.md
index 2a7428b..5bbae7e 100644
--- a/docs/markdown/Syntax.md
+++ b/docs/markdown/Syntax.md
@@ -8,8 +8,7 @@ The syntax of Meson's specification language has been kept as simple as possible
The main building blocks of the language are *variables*, *numbers*, *booleans*, *strings*, *arrays*, *function calls*, *method calls*, *if statements* and *includes*.
-Usually one Meson statement takes just one line. There is no way to have multiple statements on one line as in e.g. *C*. Function and method calls' argument lists can be split over multiple lines. Meson will autodetect this case and do the right thing. Apart from line ending whitespace has no syntactical meaning.
-
+Usually one Meson statement takes just one line. There is no way to have multiple statements on one line as in e.g. *C*. Function and method calls' argument lists can be split over multiple lines. Meson will autodetect this case and do the right thing. In other cases you can get multi-line statements by ending the line with a `\`. Apart from line ending whitespace has no syntactic meaning.
Variables
--