Annotation of gcc/c-lex.h, revision 1.1

1.1     ! root        1: /* Define constants for communication with c-parse.y.
        !             2:    Copyright (C) 1987, 1992 Free Software Foundation, Inc.
        !             3: 
        !             4: This file is part of GNU CC.
        !             5: 
        !             6: GNU CC is free software; you can redistribute it and/or modify
        !             7: it under the terms of the GNU General Public License as published by
        !             8: the Free Software Foundation; either version 2, or (at your option)
        !             9: any later version.
        !            10: 
        !            11: GNU CC is distributed in the hope that it will be useful,
        !            12: but WITHOUT ANY WARRANTY; without even the implied warranty of
        !            13: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        !            14: GNU General Public License for more details.
        !            15: 
        !            16: You should have received a copy of the GNU General Public License
        !            17: along with GNU CC; see the file COPYING.  If not, write to
        !            18: the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
        !            19: 
        !            20: 
        !            21: 
        !            22: enum rid
        !            23: {
        !            24:   RID_UNUSED,
        !            25:   RID_INT,
        !            26:   RID_CHAR,
        !            27:   RID_FLOAT,
        !            28:   RID_DOUBLE,
        !            29:   RID_VOID,
        !            30:   RID_UNUSED1,
        !            31: 
        !            32:   RID_UNSIGNED,
        !            33:   RID_SHORT,
        !            34:   RID_LONG,
        !            35:   RID_AUTO,
        !            36:   RID_STATIC,
        !            37:   RID_EXTERN,
        !            38:   RID_REGISTER,
        !            39:   RID_TYPEDEF,
        !            40:   RID_SIGNED,
        !            41:   RID_CONST,
        !            42:   RID_VOLATILE,
        !            43:   RID_INLINE,
        !            44:   RID_NOALIAS,
        !            45: 
        !            46:   RID_MAX
        !            47: };
        !            48: 
        !            49: #define NORID RID_UNUSED
        !            50: 
        !            51: #define RID_FIRST_MODIFIER RID_UNSIGNED
        !            52: 
        !            53: /* The elements of `ridpointers' are identifier nodes
        !            54:    for the reserved type names and storage classes.
        !            55:    It is indexed by a RID_... value.  */
        !            56: extern tree ridpointers[(int) RID_MAX];
        !            57: 
        !            58: /* the declaration found for the last IDENTIFIER token read in.
        !            59:    yylex must look this up to detect typedefs, which get token type TYPENAME,
        !            60:    so it is left around in case the identifier is not a typedef but is
        !            61:    used in a context which makes it a reference to a variable.  */
        !            62: extern tree lastiddecl;
        !            63: 
        !            64: extern char *token_buffer;     /* Pointer to token buffer.  */
        !            65: 
        !            66: extern tree make_pointer_declarator ();
        !            67: extern void reinit_parse_for_function ();
        !            68: extern int yylex ();

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.