wrc: Allow comma after popup name.
This commit is contained in:
parent
33c7105ecf
commit
a49eac930a
@ -369,7 +369,7 @@ resource_file
|
|||||||
else
|
else
|
||||||
$1 = rsc;
|
$1 = rsc;
|
||||||
|
|
||||||
/* Final statements before were done */
|
/* Final statements before we're done */
|
||||||
if ((head = get_resource_head($1)) != NULL)
|
if ((head = get_resource_head($1)) != NULL)
|
||||||
{
|
{
|
||||||
if (resource_top) /* append to existing resources */
|
if (resource_top) /* append to existing resources */
|
||||||
@ -1279,12 +1279,13 @@ item_definitions
|
|||||||
*/
|
*/
|
||||||
item_options
|
item_options
|
||||||
: /* Empty */ { $$ = 0; }
|
: /* Empty */ { $$ = 0; }
|
||||||
| opt_comma tCHECKED item_options { $$ = $3 | MF_CHECKED; }
|
| ',' item_options { $$ = $2; }
|
||||||
| opt_comma tGRAYED item_options { $$ = $3 | MF_GRAYED; }
|
| tCHECKED item_options { $$ = $2 | MF_CHECKED; }
|
||||||
| opt_comma tHELP item_options { $$ = $3 | MF_HELP; }
|
| tGRAYED item_options { $$ = $2 | MF_GRAYED; }
|
||||||
| opt_comma tINACTIVE item_options { $$ = $3 | MF_DISABLED; }
|
| tHELP item_options { $$ = $2 | MF_HELP; }
|
||||||
| opt_comma tMENUBARBREAK item_options { $$ = $3 | MF_MENUBARBREAK; }
|
| tINACTIVE item_options { $$ = $2 | MF_DISABLED; }
|
||||||
| opt_comma tMENUBREAK item_options { $$ = $3 | MF_MENUBREAK; }
|
| tMENUBARBREAK item_options { $$ = $2 | MF_MENUBARBREAK; }
|
||||||
|
| tMENUBREAK item_options { $$ = $2 | MF_MENUBREAK; }
|
||||||
;
|
;
|
||||||
|
|
||||||
/* ------------------------------ MenuEx ------------------------------ */
|
/* ------------------------------ MenuEx ------------------------------ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user