File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
2
2
/* An FTL file defines a Resource consisting of Entries. */
3
- Resource ::= (Entry | blank_block | junk )*
3
+ Resource ::= (Entry | blank_block | Junk )*
4
4
5
5
/* Entries are the main building blocks of Fluent. They define translations and
6
6
* contextual and semantic information about the translations. During the AST
@@ -24,7 +24,7 @@ CommentLine ::= ("###" | "##" | "#") ("\u0020" /.*/)? line_end
24
24
* be a beginning of a new message, term, or a comment. Any whitespace
25
25
* following a broken Entry is also considered part of Junk.
26
26
*/
27
- junk ::= junk_line (junk_line - " #" - " -" - [a-zA-Z ])*
27
+ Junk ::= junk_line (junk_line - " #" - " -" - [a-zA-Z ])*
28
28
junk_line ::= /[^\n ]* / (" \u000A" | EOF )
29
29
30
30
/* Attributes of Messages and Terms. */
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ let Resource = defer(() =>
16
16
either (
17
17
Entry ,
18
18
blank_block ,
19
- junk ) )
19
+ Junk ) )
20
20
. chain ( list_into ( FTL . Resource ) ) ) ;
21
21
22
22
/* ------------------------------------------------------------------------- */
@@ -91,7 +91,7 @@ let CommentLine = defer(() =>
91
91
* be a beginning of a new message, term, or a comment. Any whitespace
92
92
* following a broken Entry is also considered part of Junk.
93
93
*/
94
- let junk = defer ( ( ) =>
94
+ let Junk = defer ( ( ) =>
95
95
sequence (
96
96
junk_line ,
97
97
repeat (
You can’t perform that action at this time.
0 commit comments