/[bison]/bison/TODO
ViewVC logotype

Diff of /bison/TODO

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

revision 1.55 by akim, Thu May 2 16:12:35 2002 UTC revision 1.56 by akim, Fri May 3 08:42:48 2002 UTC
# Line 34  Paul notes: Line 34  Paul notes:
34          PDP-10 ports :-) but they should probably be documented          PDP-10 ports :-) but they should probably be documented
35          somewhere.          somewhere.
36    
 * Using enums instead of int for tokens.  
 Paul suggests:  
   
    #ifndef YYTOKENTYPE  
    # if defined (__STDC__) || defined (__cplusplus)  
       /* Put the tokens into the symbol table, so that GDB and other debuggers  
          know about them.  */  
       enum yytokentype {  
         FOO = 256,  
         BAR,  
         ...  
       };  
       /* POSIX requires `int' for tokens in interfaces.  */  
    #  define YYTOKENTYPE int  
    # endif  
    #endif  
    #define FOO 256  
    #define BAR 257  
    ...  
   
37  * Output directory  * Output directory
38  Akim:  Akim:
39    

Legend:
Removed from v.1.55  
changed lines
  Added in v.1.56

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