Skip to content

Commit e351819

Browse files
oderskysirocchj
andauthored
Apply suggestions from code review
Co-authored-by: Julien Jean Paul Sirocchi <[email protected]>
1 parent 1ac12ce commit e351819

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/docs/reference/other-new-features/indentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ There are two rules:
8484
If the indentation width of the token on the next line is still less than the new current indentation width, step (2) repeats. Therefore, several `<outdent>` tokens
8585
may be inserted in a row.
8686

87-
The folllowing two additional rules support parsing of legacy code with ad-hoc layout. They might be withdrawn in future language versions:
87+
The following two additional rules support parsing of legacy code with ad-hoc layout. They might be withdrawn in future language versions:
8888

8989
- An `<outdent>` is also inserted if the next token following a statement sequence starting with an `<indent>` closes an indentation region, i.e. is one of `then`, `else`, `do`, `catch`, `finally`, `yield`, `}`, `)`, `]` or `case`.
9090

docs/docs/reference/syntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ nl ::= “new line character”
8585
semi ::= ‘;’ | nl {nl}
8686
```
8787

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

9090
In the context-free productions below we use the notation `<<< ts >>>`
9191
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`.

0 commit comments

Comments
 (0)