File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -621,7 +621,7 @@ static struct grep_expr *compile_pattern_atom(struct grep_pat **list)
621
621
* list = p -> next ;
622
622
x = compile_pattern_or (list );
623
623
if (!* list || (* list )-> token != GREP_CLOSE_PAREN )
624
- die ("unmatched parenthesis " );
624
+ die ("unmatched ( for expression group " );
625
625
* list = (* list )-> next ;
626
626
return x ;
627
627
default :
@@ -792,7 +792,7 @@ void compile_grep_patterns(struct grep_opt *opt)
792
792
if (p )
793
793
opt -> pattern_expression = compile_pattern_expr (& p );
794
794
if (p )
795
- die ("incomplete pattern expression: %s" , p -> pattern );
795
+ die ("incomplete pattern expression group : %s" , p -> pattern );
796
796
797
797
if (opt -> no_body_match && opt -> pattern_expression )
798
798
opt -> pattern_expression = grep_not_expr (opt -> pattern_expression );
You can’t perform that action at this time.
0 commit comments