Skip to content

Commit a1b9af9

Browse files
amartini51krilnon
andcommitted
Remove stray \ from grammar of an expression
Because this is the only line in the grammar box, there's no need to write a hard break after the production. Including the backslash (\) like this produces an actual backslash in the rendered output. Commit 8e713ce (Switch the grammar to use hard breaks, 2023-07-13) added hard breaks throughout the grammar, for readability. At that time, this line had the definition of *expression-list* after it, so it needed a hard break. However, when commit 38eb815 (Remove disused grammar production, 2024-02-15) later removed *expression-list*, the hard break got left behind, causing this issue. Co-authored-by: Kyle Murray <[email protected]> References: 8e713ce References: 38eb815
1 parent 6911440 commit a1b9af9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

TSPL.docc/ReferenceManual/Expressions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ in the sections below.
2020

2121
> Grammar of an expression:
2222
>
23-
> *expression**try-operator*_?_ *await-operator*_?_ *prefix-expression* *infix-expressions*_?_ \
23+
> *expression**try-operator*_?_ *await-operator*_?_ *prefix-expression* *infix-expressions*_?_
2424
2525
## Prefix Expressions
2626

TSPL.docc/ReferenceManual/SummaryOfTheGrammar.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ make the same change here also.
315315

316316
> Grammar of an expression:
317317
>
318-
> *expression**try-operator*_?_ *await-operator*_?_ *prefix-expression* *infix-expressions*_?_ \
318+
> *expression**try-operator*_?_ *await-operator*_?_ *prefix-expression* *infix-expressions*_?_
319319
320320
> Grammar of a prefix expression:
321321
>

0 commit comments

Comments
 (0)