version 1.12, 2003/10/18 20:35:36 |
version 1.13, 2003/10/19 19:21:48 |
|
|
%type <node> function_header |
%type <node> function_header |
%type <node> input_item |
%type <node> input_item |
%type <node> opt_argument_list |
%type <node> opt_argument_list |
|
%type <node> opt_expression |
|
%type <node> opt_relational_expression |
%type <node> opt_statement |
%type <node> opt_statement |
%type <node> relational_expression |
%type <node> relational_expression |
%type <node> return_expression |
%type <node> return_expression |
|
|
} |
} |
$$ = $3; |
$$ = $3; |
} |
} |
| FOR LPAR alloc_macro expression SEMICOLON |
| FOR LPAR alloc_macro opt_expression SEMICOLON |
relational_expression SEMICOLON |
opt_relational_expression SEMICOLON |
expression RPAR opt_statement pop_nesting |
opt_expression RPAR opt_statement pop_nesting |
{ |
{ |
ssize_t n; |
ssize_t n; |
|
|
|
|
} |
} |
; |
; |
|
|
|
opt_relational_expression |
|
: /* empty */ |
|
{ |
|
$$ = cs(" 0 0="); |
|
} |
|
| relational_expression |
|
; |
|
|
relational_expression |
relational_expression |
: expression |
: expression |
|
|
} |
} |
; |
; |
|
|
|
|
|
opt_expression : /* empty */ |
|
{ |
|
$$ = cs(" 0"); |
|
} |
|
| expression |
|
; |
|
|
expression : named_expression |
expression : named_expression |
{ |
{ |