649 |
|
|
650 |
%% |
%% |
651 |
|
|
652 |
|
/* Keeps track of the maximum number of semantic values to the left of |
653 |
|
a handle (those referenced by $0, $-1, etc.) are required by the |
654 |
|
semantic actions of this grammar. */ |
655 |
|
int max_left_semantic_context = 0; |
656 |
|
|
657 |
/* Set *LOC and adjust scanner cursor to account for token TOKEN of |
/* Set *LOC and adjust scanner cursor to account for token TOKEN of |
658 |
size SIZE. */ |
size SIZE. */ |
659 |
|
|
786 |
if (INT_MIN <= num && num <= rule_length && ! get_errno ()) |
if (INT_MIN <= num && num <= rule_length && ! get_errno ()) |
787 |
{ |
{ |
788 |
int n = num; |
int n = num; |
789 |
|
if (1-n > max_left_semantic_context) |
790 |
|
max_left_semantic_context = 1-n; |
791 |
if (!type_name && n > 0) |
if (!type_name && n > 0) |
792 |
type_name = symbol_list_n_type_name_get (current_rule, loc, n); |
type_name = symbol_list_n_type_name_get (current_rule, loc, n); |
793 |
if (!type_name && typed) |
if (!type_name && typed) |