Skip to content

Commit

Permalink
Merge pull request #1307 from masatake/update-lregex-help-message
Browse files Browse the repository at this point in the history
main: add _multiline to the output of --list-regex-flags option
  • Loading branch information
masatake committed Feb 20, 2017
2 parents 803ea88 + 7052879 commit 7f5091a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main/lregex.c
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ static void pre_ptrn_flag_multiline_long (const char* const s CTAGS_ATTR_UNUSED,
static flagDefinition multilinePtrnFlagDef[] = {
#define EXPERIMENTAL "_"
{ '\0', EXPERIMENTAL "multiline", NULL, pre_ptrn_flag_multiline_long ,
NULL, "match in muletline mode. cannot combine with scope, placeholder, and exclusive"},
NULL, "match in muletline mode. cannot be combined with scope, placeholder, and exclusive"},
};


Expand Down Expand Up @@ -1166,6 +1166,7 @@ extern void printRegexFlags (void)
flagPrintHelp (regexFlagDefs, ARRAY_SIZE (regexFlagDefs));
flagPrintHelp (prePtrnFlagDef, ARRAY_SIZE (prePtrnFlagDef));
flagPrintHelp (scopePtrnFlagDef, ARRAY_SIZE (scopePtrnFlagDef));
flagPrintHelp (multilinePtrnFlagDef, ARRAY_SIZE (multilinePtrnFlagDef));
}

extern void freeRegexResources (void)
Expand Down

0 comments on commit 7f5091a

Please sign in to comment.