aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--expand.cpp2
-rw-r--r--parser.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/expand.cpp b/expand.cpp
index d2c58f3c..f0f3c7fc 100644
--- a/expand.cpp
+++ b/expand.cpp
@@ -1328,7 +1328,7 @@ static int expand_cmdsubst( parser_t &parser, const wcstring &input, std::vector
case -1:
parser.error( SYNTAX_ERROR,
-1,
- L"Mismatched parans" );
+ L"Mismatched parenthesis" );
return 0;
case 0:
outList.push_back(completion_t(input));
diff --git a/parser.cpp b/parser.cpp
index 1e462ba7..738bb985 100644
--- a/parser.cpp
+++ b/parser.cpp
@@ -2681,7 +2681,7 @@ int parser_t::parser_test_argument( const wchar_t *arg, wcstring *out, const wch
{
error( SYNTAX_ERROR,
offset,
- L"Mismatched parans" );
+ L"Mismatched parenthesis" );
this->print_errors( *out, prefix);
}
free( arg_cpy );