mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-14 06:43:03 +00:00
* src/gram.h (rule_t): Rename number' as user_number'.
`number' is a new member. Adjust dependencies. * src/reduce.c (reduce_grammar_tables): Renumber rule_t.number.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/* Data definitions for internal representation of bison's input,
|
||||
Copyright 1984, 1986, 1989, 1992, 2001, 2002
|
||||
Copyright (C) 1984, 1986, 1989, 1992, 2001, 2002
|
||||
Free Software Foundation, Inc.
|
||||
|
||||
This file is part of Bison, the GNU Compiler Compiler.
|
||||
@@ -118,6 +118,10 @@ typedef struct rule_s
|
||||
{
|
||||
/* The number of the rule in the source. It is usually the index in
|
||||
RULES too, except if there are useless rules. */
|
||||
short user_number;
|
||||
|
||||
/* The index in RULES. Usually the rule number in the source,
|
||||
except if some rules are useless. */
|
||||
short number;
|
||||
|
||||
bucket *lhs;
|
||||
|
||||
Reference in New Issue
Block a user