Skip to content

Commit

Permalink
Update docs/_docs/internals/syntax.md
Browse files Browse the repository at this point in the history
Co-authored-by: Eugene Flesselle <[email protected]>
  • Loading branch information
odersky and EugeneFlesselle authored Feb 13, 2024
1 parent 32723c5 commit f2f5051
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_docs/internals/syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ semi ::= ‘;’ | nl {nl}
The principle of optional braces is that any keyword that can be followed by `{` can also be followed by an indented block, without needing an intervening `:`.
(Allowing an optional `:` would be counterproductive since it would introduce several ways to do the same thing.)

The lexical analyzer inserts `indent` and `outdent` tokens that represent regions of indented code [at certain points](./other-new-features/indentation.md).
The lexical analyzer inserts `indent` and `outdent` tokens that represent regions of indented code [at certain points](../reference/other-new-features/indentation.md).

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`. Analogously, the
Expand Down

0 comments on commit f2f5051

Please sign in to comment.