From 8acdd0baa93781677b51523d51c06c180beed864 Mon Sep 17 00:00:00 2001 From: Michael Lin Date: Thu, 14 Apr 2005 11:32:44 +0000 Subject: [PATCH] Change menu item options to use optional comma. --- tools/wrc/parser.y | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/wrc/parser.y b/tools/wrc/parser.y index 7b072676cd..6add4b2159 100644 --- a/tools/wrc/parser.y +++ b/tools/wrc/parser.y @@ -1283,12 +1283,12 @@ item_definitions */ item_options : /* Empty */ { $$ = 0; } - | ',' tCHECKED item_options { $$ = $3 | MF_CHECKED; } - | ',' tGRAYED item_options { $$ = $3 | MF_GRAYED; } - | ',' tHELP item_options { $$ = $3 | MF_HELP; } - | ',' tINACTIVE item_options { $$ = $3 | MF_DISABLED; } - | ',' tMENUBARBREAK item_options { $$ = $3 | MF_MENUBARBREAK; } - | ',' tMENUBREAK item_options { $$ = $3 | MF_MENUBREAK; } + | opt_comma tCHECKED item_options { $$ = $3 | MF_CHECKED; } + | opt_comma tGRAYED item_options { $$ = $3 | MF_GRAYED; } + | opt_comma tHELP item_options { $$ = $3 | MF_HELP; } + | opt_comma tINACTIVE item_options { $$ = $3 | MF_DISABLED; } + | opt_comma tMENUBARBREAK item_options { $$ = $3 | MF_MENUBARBREAK; } + | opt_comma tMENUBREAK item_options { $$ = $3 | MF_MENUBREAK; } ; /* ------------------------------ MenuEx ------------------------------ */ -- 2.32.0.93.g670b81a890