GCC Middle and Back End API Reference
|
Macros | |
#define | malloc xmalloc |
#define | realloc xrealloc |
#define | YY_DECL int yylex (const char **yylval) |
#define | yyterminate() |
Functions | |
static void | update_lineno (const char *l, size_t len) |
int | yylex (void) |
void | yybegin (const char *fname) |
void | yyend (void) |
Variables | |
struct fileloc | lexer_line |
int | lexer_toplevel_done |
#define malloc xmalloc |
-*- indented-text -*-
Process source files and output type information. Copyright (C) 2002-2025 Free Software Foundation, Inc. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see <http://www.gnu.org/licenses/>.
#define realloc xrealloc |
Referenced by init_num_threads().
#define YY_DECL int yylex (const char **yylval) |
|
static |
References lexer_line, and fileloc::line.
void yybegin | ( | const char * | fname | ) |
References fileloc::file, fopen, input_file_by_name(), lexer_line, fileloc::line, and NULL.
Referenced by parse_file().
void yyend | ( | void | ) |
Referenced by parse_file().
int yylex | ( | void | ) |
Referenced by token().
struct fileloc lexer_line |
Referenced by extern_or_static(), parse_error(), struct_field_seq(), type(), typedef_decl(), update_lineno(), and yybegin().
int lexer_toplevel_done |
Variables used to communicate between the lexer and the parser.
Referenced by parse_file().