Skip to content

Commit b7f7106

Browse files
LitFillandreasabel
authored andcommitted
Fixes #511: Remove extraneous closing bracket in String literal description in Doc.txt
1 parent abd0a20 commit b7f7106

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/src/BNFC/Backend/Txt2Tag.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ stringLit = unlines . \case
7575
""
7676
]
7777
"String" -> ["String literals //String// have the form",
78-
"``\"``//x//``\"``}, where //x// is any sequence of any characters",
78+
"``\"``//x//``\"``, where //x// is any sequence of any characters",
7979
"except ``\"`` unless preceded by ``\\``.",
8080
""]
8181
"Integer" -> ["Integer literals //Integer// are nonempty sequences of digits.",
@@ -104,9 +104,9 @@ prtComments (xs,ys) = concat
104104
else
105105
"Single-line comments begin with " ++ sing ++".",
106106
if null xs then
107-
"There are no multiple-line comments in the grammar."
107+
" There are no multiple-line comments in the grammar."
108108
else
109-
"Multiple-line comments are enclosed with " ++ mult ++"."
109+
" Multiple-line comments are enclosed with " ++ mult ++"."
110110
]
111111
where
112112
sing = List.intercalate ", " $ map (symbol.prt) ys

0 commit comments

Comments
 (0)