Skip to content

Allow newline between arguments to a call-expression #17

Closed
@stasm

Description

@stasm

After #2 is fixed, we'll run into a similar problem as the one described in l20n/spec#14, but for arglist: the current grammar doesn't allow new lines in the list of arguments to a call-expression. It makes the complex examples from the syntax guide invalid:

liked-photo = { LEN($people) ->
    [1] { $people } likes
    [2] { $people } like
    [3] { LIST(TAKE(2, $people), "one more person") } like

   *[other] { LIST(
        TAKE(2, $people),
        "{ LEN(DROP(2, $people)) ->
            [1]    one more person like
           *[other]  { LEN(DROP(2, $people)) } more people like
        }"
    ) }
} your photo.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions