From b54e1d29fe00efc7128fbf98d606d77f86d3703e Mon Sep 17 00:00:00 2001 From: Tim Date: Sat, 3 Jun 2017 16:54:20 +0100 Subject: [PATCH] Add a note about multi-line statements by ending the line with \ --- docs/markdown/Syntax.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/markdown/Syntax.md b/docs/markdown/Syntax.md index 2a7428b87..5bbae7e06 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 --