The documentation states: "In other cases you can get multi-line statements by ending the line with a \." but that seems to never have worked. Closes: #4720pull/4726/head
parent
83964f64fa
commit
90c9b868b2
2 changed files with 22 additions and 1 deletions
@ -0,0 +1,17 @@ |
||||
project('line continuation') |
||||
|
||||
a = 1 |
||||
b = 2 |
||||
|
||||
c = a \ |
||||
+b |
||||
assert(c == 3, 'Line continuation is not working') |
||||
|
||||
d = a + \ |
||||
b |
||||
assert(d == 3, 'Line continuation is not working') |
||||
|
||||
if a == 1 and \ |
||||
b == 3 |
||||
error('Line continuation in "if" condition is not working') |
||||
endif |
Loading…
Reference in new issue