Skip to content

Commit

Permalink
Fix projectfluent#17. Allow newline in arglist
Browse files Browse the repository at this point in the history
  • Loading branch information
stasm committed Jan 25, 2017
1 parent 2abb8a7 commit 5d72c16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fluent.ebnf
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ expression ::= quoted-pattern
;
select-expression ::= expression __ ' ->' __ variants-list;
member-expression ::= identifier '[' keyword ']';
call-expression ::= builtin '(' __ arglist? __ ')';
arglist ::= argument (__ ',' __ arglist)?;
call-expression ::= builtin '(' __ NL? arglist? __ NL? ')';
arglist ::= argument (__ NL? ',' __ NL? arglist)?;
argument ::= expression
| keyword-argument;
keyword-argument ::= identifier __ ':' __ quoted-pattern;

0 comments on commit 5d72c16

Please sign in to comment.