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

Diff of /bison/src/lalr.h

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

revision 1.13 by akim, Sat Dec 29 14:20:47 2001 UTC revision 1.14 by akim, Mon Mar 4 12:03:36 2002 UTC
# Line 1  Line 1 
1  /* Compute look-ahead criteria for bison,  /* Compute look-ahead criteria for bison,
2     Copyright 1984, 1986, 1989, 2000 Free Software Foundation, Inc.     Copyright 1984, 1986, 1989, 2000, 2002 Free Software Foundation, Inc.
3    
4     This file is part of Bison, the GNU Compiler Compiler.     This file is part of Bison, the GNU Compiler Compiler.
5    
# Line 21  Line 21 
21  #ifndef LALR_H_  #ifndef LALR_H_
22  # define LALR_H_  # define LALR_H_
23    
24    #include "bitset.h"
25    
26  /* Import the definition of CORE, SHIFTS and REDUCTIONS. */  /* Import the definition of CORE, SHIFTS and REDUCTIONS. */
27  # include "state.h"  # include "state.h"
# Line 65  extern short *LAruleno; Line 66  extern short *LAruleno;
66     token is symbol i.  If LA[l, i] and LA[l, j] are both 1 for i != j,     token is symbol i.  If LA[l, i] and LA[l, j] are both 1 for i != j,
67     it is a conflict.  */     it is a conflict.  */
68    
69  extern unsigned *LA;  extern bitset *LA;
 #define LA(Rule) (LA + (Rule) * tokensetsize)  
70    
71    
72  /* All the states, indexed by the state number.  */  /* All the states, indexed by the state number.  */

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

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