Skip to content

Commit

Permalink
Improve a comment
Browse files Browse the repository at this point in the history
The description of the parse_selectors function is not sufficiently
precise.
  • Loading branch information
p-gen committed Aug 9, 2023
1 parent 8137354 commit a4c441d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions smenu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1739,16 +1739,20 @@ attr_elem_cmp(void const * a, void const * b)
}

/* ===================================================================== */
/* Parse a column or row selector string whose syntax is defines as: */
/* <letter><range1>,<range2>,... */
/* <range> is n1-n2 | n1 where n1 starts with 1. */
/* Parse a column or row selector string whose syntax is defined as: */
/* [<letter>]<item1>|,<item>|,... */
/* <item> is <range>| <delimited regex> */
/* <item> is (<range>| <delimited regex>):<attribute> if letter is a|A. */
/* <range> is n1-n2 | n1 | -n2 | n1- where n1 starts with 1. */
/* <delimited regex> is <char><regex><char> (e.g. /<regex>/). */
/* */
/* <letter> is a|A|s|S|r|R|u|U where: */
/* i|I is for 'include'. */
/* e|E is for 'exclude'. */
/* l|L is for 'left' alignment. */
/* r|R is for 'right' alignment. */
/* c|C is for 'center' alignment. */
/* a|A for defining attributes for rows or columns. */
/* */
/* str (in) string to parse. */
/* filter (out) is INCLUDE_FILTER or EXCLUDE_FILTER according */
Expand Down

0 comments on commit a4c441d

Please sign in to comment.