X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=grep.h;h=d252dd25f81526d9b8663b4d3c9585d69a901397;hb=6e863d6d129a1b6a13c66d0bb03f3d43db6c51fe;hp=af9098cfe8699680aeaa11790dad3e8d556ed395;hpb=e38604e00637a7b25c12c0ef1423a6135cbf049b;p=git.git diff --git a/grep.h b/grep.h index af9098cfe..d252dd25f 100644 --- a/grep.h +++ b/grep.h @@ -35,6 +35,7 @@ enum grep_expr_node { struct grep_expr { enum grep_expr_node node; + unsigned hit; union { struct grep_pat *atom; struct grep_expr *unary; @@ -59,6 +60,7 @@ struct grep_opt { unsigned count:1; unsigned word_regexp:1; unsigned fixed:1; + unsigned all_match:1; #define GREP_BINARY_DEFAULT 0 #define GREP_BINARY_NOMATCH 1 #define GREP_BINARY_TEXT 2