Skip to content

Commit

Permalink
main,comment: describe local variables in parserTagRegex func
Browse files Browse the repository at this point in the history
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
  • Loading branch information
masatake committed May 18, 2018
1 parent 3a6dd37 commit b8e4238
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions main/lregex.c
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,12 @@ static bool parseTagRegex (
error (WARNING, "%s: regexp missing final separator", regexp);
else
{
/*
* first----------V third------------V
* --regex-<LANG>=/regexp/replacement/[kind-spec/][flags]
* second----------------^ fourth---------------^
*/

char* const fourth = scanSeparators (third, false);
if (*fourth == separator)
{
Expand Down

0 comments on commit b8e4238

Please sign in to comment.