summaryrefslogtreecommitdiff
path: root/src/Parser/Expr.hs
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2025-05-14 17:57:22 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2025-05-14 18:35:51 +0200
commit077cfa3e35330ec982c0b4c9047c0956d04d1103 (patch)
tree648805bc922a92872565097738410eb52e193d64 /src/Parser/Expr.hs
parentf93e2335aea6f20af143347defd07a214206c11d (diff)
Parse shell statement parameters in arbitrary order
Diffstat (limited to 'src/Parser/Expr.hs')
-rw-r--r--src/Parser/Expr.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Parser/Expr.hs b/src/Parser/Expr.hs
index 3700602..079cfba 100644
--- a/src/Parser/Expr.hs
+++ b/src/Parser/Expr.hs
@@ -394,7 +394,7 @@ checkFunctionArguments (FunctionArguments argTypes) poff kw sexpr@(SomeExpr expr
Nothing -> do
registerParseError $ FancyError poff $ S.singleton $ ErrorFail $ T.unpack $
case kw of
- Just (ArgumentKeyword tkw) -> "unexpected parameter with keyword `" <> tkw <> "'"
+ Just (ArgumentKeyword tkw) -> "unexpected parameter with keyword ‘" <> tkw <> "’"
Nothing -> "unexpected parameter"
return sexpr