diff options
author | Roman Smrž <roman.smrz@seznam.cz> | 2025-05-14 17:57:22 +0200 |
---|---|---|
committer | Roman Smrž <roman.smrz@seznam.cz> | 2025-05-14 18:35:51 +0200 |
commit | 077cfa3e35330ec982c0b4c9047c0956d04d1103 (patch) | |
tree | 648805bc922a92872565097738410eb52e193d64 /src/Parser/Expr.hs | |
parent | f93e2335aea6f20af143347defd07a214206c11d (diff) |
Parse shell statement parameters in arbitrary order
Diffstat (limited to 'src/Parser/Expr.hs')
-rw-r--r-- | src/Parser/Expr.hs | 2 |
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 |