~ubuntu-branches/ubuntu/trusty/grub2/trusty-updates

« back to all changes in this revision

Viewing changes to script/parser.y

Tags: upstream-1.98+20100705
ImportĀ upstreamĀ versionĀ 1.98+20100705

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
#define YYLTYPE_IS_TRIVIAL      0
27
27
#define YYENABLE_NLS    0
28
28
 
 
29
#include "grub_script.tab.h"
29
30
%}
30
31
 
31
32
%union {
126
127
statement: command   { $$ = $1; }
127
128
         | function  { $$ = 0;  }
128
129
         | menuentry { $$ = $1; }
 
130
;
129
131
 
130
132
argument : "case"      { $$ = grub_script_add_arglist (state, 0, $1); }
131
133
         | "do"        { $$ = grub_script_add_arglist (state, 0, $1); }