Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: multiline variable clarification #2513

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Comment on lines +1469 to +1470
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

{{...}} is not interpolated in any just string (see #11 ). This is not specific to triple-quoted strings or "recipe variables", so being specific here is only confusing.

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
Loading