@@ -1778,8 +1778,8 @@ expParseError (Spanned t _, exps) = fail $ "Syntax error: unexpected `" ++ show
17781778 | rep `isSubsequenceOf` es = go (es \\ rep) (msg : msgs) rs
17791779 | otherwise = go es msgs rs
17801780
1781- ignore = words " ntItem ntBlock ntStmt ntPat ntExpr ntTy ntIdent ntPath ntTT \
1782- ntArm ntImplItem ntTraitItem ntGenerics ntWhereClause ntArg ntLit"
1781+ ignore = words " ntItem ntBlock ntStmt ntPat ntExpr ntTy ntIdent ntPath ntTT" ++
1782+ words " ntArm ntImplItem ntTraitItem ntGenerics ntWhereClause ntArg ntLit"
17831783
17841784 replacements = map (\(ks,v) -> (sort ks,v)) $
17851785 [ (expr, " an expression" )
@@ -1805,11 +1805,11 @@ expParseError (Spanned t _, exps) = fail $ "Syntax error: unexpected `" ++ show
18051805
18061806 expr :: [String]
18071807 expr = lit ++ identifier ++ lifetime ++
1808- words " '<' '!' '-' '*' '&' '|' '...' '..=' '..' '::' \
1809- '||' '&&' '<<' '(' '[' '{' box break continue \
1810- for if loop match move return Self self \
1811- static super unsafe while do default union \
1812- catch auto yield dyn"
1808+ words " '<' '!' '-' '*' '&' '|' '...' '..=' '..' '::'" ++
1809+ words " '||' '&&' '<<' '(' '[' '{' box break continue" ++
1810+ words " for if loop match move return Self self " ++
1811+ words " static super unsafe while do default union " ++
1812+ words " catch auto yield dyn"
18131813
18141814 lit = boolLit ++ byteLit ++ charLit ++ intLit ++ floatLit ++ strLit ++
18151815 byteStrLit ++ rawStrLit ++ rawByteStrLit
0 commit comments