Skip to content

Commit e2678f0

Browse files
committed
One sentence per line.
1 parent 783dc06 commit e2678f0

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

docs/_spec/01-lexical-syntax.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,10 @@ The lexical analyzer inserts `indent` and `outdent` tokens that represent region
2929

3030
´\color{red}{\text{TODO SCALA3: Port soft-modifier.md and link it here.}}´
3131

32-
In the context-free productions below we use the notation `<<< ts >>>`
33-
to indicate a token sequence `ts` that is either enclosed in a pair of braces `{ ts }` or that constitutes an indented region `indent ts outdent`. Analogously, the
34-
notation `:<<< ts >>>` indicates a token sequence `ts` that is either enclosed in a pair of braces `{ ts }` or that constitutes an indented region `indent ts outdent` that follows
35-
a `colon` token.
32+
In the context-free productions below we use the notation `<<< ts >>>` to indicate a token sequence `ts` that is either enclosed in a pair of braces `{ ts }` or that constitutes an indented region `indent ts outdent`.
33+
Analogously, the notation `:<<< ts >>>` indicates a token sequence `ts` that is either enclosed in a pair of braces `{ ts }` or that constitutes an indented region `indent ts outdent` that follows a `colon` token.
3634

37-
A `colon` token reads as the standard colon "`:`" but is generated instead of it where `colon` is legal according to the context free syntax, but only if the previous token
38-
is an alphanumeric identifier, a backticked identifier, or one of the tokens `this`, `super`, `new`, "`)`", and "`]`".
35+
A `colon` token reads as the standard colon "`:`" but is generated instead of it where `colon` is legal according to the context free syntax, but only if the previous token is an alphanumeric identifier, a backticked identifier, or one of the tokens `this`, `super`, `new`, "`)`", and "`]`".
3936

4037
```
4138
colon ::= ':' -- with side conditions explained above

0 commit comments

Comments
 (0)