Skip to content

Commit

Permalink
docs: multiline variable clarification
Browse files Browse the repository at this point in the history
this was slightly confusing to me
  • Loading branch information
iloveitaly committed Dec 10, 2024
1 parent 5db910f commit 7b55163
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1466,7 +1466,8 @@ escapes := "\t\n\r\"\\"
```

Indented versions of both single- and double-quoted strings, delimited by
triple single- or double-quotes, are supported. Indented string lines are
triple single- or double-quotes, are supported. Recipe variables cannot
be interpolated in a triple-quoted string. Indented string lines are
stripped of a leading line break, and leading whitespace common to all
non-blank lines:

Expand Down Expand Up @@ -3054,6 +3055,11 @@ abc2 := (
'c'
)
abc3 := (
abc2 +
'd'
)
foo param=('foo'
+ 'bar'
):
Expand All @@ -3072,6 +3078,9 @@ joined by whitespace<sup>1.15.0</sup>:
a := 'foo' + \
'bar'
b := 'foo' + \
a
foo param1 \
param2='foo' \
*varparam='': dep1 \
Expand Down

0 comments on commit 7b55163

Please sign in to comment.