/[bison]/bison/src/closure.h
ViewVC logotype

Diff of /bison/src/closure.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.10 by eggert, Mon Oct 21 05:30:49 2002 UTC revision 1.11 by eggert, Wed Dec 11 06:22:41 2002 UTC
# Line 1  Line 1 
1  /* Subroutines for bison  /* Subroutines for bison
2     Copyright (C) 1984, 1989, 2000, 2001, 2002  Free Software Foundation, Inc.  
3       Copyright (C) 1984, 1989, 2000, 2001, 2002 Free Software
4       Foundation, Inc.
5    
6     This file is part of Bison, the GNU Compiler Compiler.     This file is part of Bison, the GNU Compiler Compiler.
7    
# Line 21  Line 23 
23  #ifndef CLOSURE_H_  #ifndef CLOSURE_H_
24  # define CLOSURE_H_  # define CLOSURE_H_
25    
26    # include "gram.h"
27    
28  /* Allocates the itemset and ruleset vectors, and precomputes useful  /* Allocates the itemset and ruleset vectors, and precomputes useful
29     data so that closure can be called.  n is the number of elements to     data so that closure can be called.  n is the number of elements to
30     allocate for itemset.  */     allocate for itemset.  */
# Line 42  void new_closure (int n); Line 46  void new_closure (int n);
46     significant).  CLOSURE places there the indices of all items which     significant).  CLOSURE places there the indices of all items which
47     represent units of input that could arrive next.  */     represent units of input that could arrive next.  */
48    
49  void closure (item_number_t *items, int n);  void closure (item_number *items, int n);
50    
51    
52  /* Frees ITEMSET, RULESET and internal data.  */  /* Frees ITEMSET, RULESET and internal data.  */
53    
54  void free_closure (void);  void free_closure (void);
55    
56  extern item_number_t *itemset;  extern item_number *itemset;
57  extern int nritemset;  extern int nritemset;
58    
59  #endif /* !CLOSURE_H_ */  #endif /* !CLOSURE_H_ */

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26