|
Packit Service |
c3aa71 |
/* Bison Grammar Scanner
|
|
Packit Service |
c3aa71 |
|
|
Packit Service |
c3aa71 |
Copyright (C) 2006-2007, 2009-2015 Free Software Foundation, Inc.
|
|
Packit Service |
c3aa71 |
|
|
Packit Service |
c3aa71 |
This file is part of Bison, the GNU Compiler Compiler.
|
|
Packit Service |
c3aa71 |
|
|
Packit Service |
c3aa71 |
This program is free software: you can redistribute it and/or modify
|
|
Packit Service |
c3aa71 |
it under the terms of the GNU General Public License as published by
|
|
Packit Service |
c3aa71 |
the Free Software Foundation, either version 3 of the License, or
|
|
Packit Service |
c3aa71 |
(at your option) any later version.
|
|
Packit Service |
c3aa71 |
|
|
Packit Service |
c3aa71 |
This program is distributed in the hope that it will be useful,
|
|
Packit Service |
c3aa71 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
c3aa71 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
Packit Service |
c3aa71 |
GNU General Public License for more details.
|
|
Packit Service |
c3aa71 |
|
|
Packit Service |
c3aa71 |
You should have received a copy of the GNU General Public License
|
|
Packit Service |
c3aa71 |
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
|
Packit Service |
c3aa71 |
|
|
Packit Service |
c3aa71 |
#ifndef SCAN_GRAM_H_
|
|
Packit Service |
c3aa71 |
# define SCAN_GRAM_H_
|
|
Packit Service |
c3aa71 |
|
|
Packit Service |
c3aa71 |
/* From the scanner. */
|
|
Packit Service |
c3aa71 |
extern FILE *gram_in;
|
|
Packit Service |
c3aa71 |
extern int gram__flex_debug;
|
|
Packit Service |
c3aa71 |
void gram_scanner_initialize (void);
|
|
Packit Service |
c3aa71 |
void gram_scanner_free (void);
|
|
Packit Service |
c3aa71 |
void gram_scanner_last_string_free (void);
|
|
Packit Service |
c3aa71 |
|
|
Packit Service |
c3aa71 |
/* These are declared by the scanner, but not used. We put them here
|
|
Packit Service |
c3aa71 |
to pacify "make syntax-check". */
|
|
Packit Service |
c3aa71 |
extern FILE *gram_out;
|
|
Packit Service |
c3aa71 |
extern int gram_lineno;
|
|
Packit Service |
c3aa71 |
|
|
Packit Service |
c3aa71 |
# define GRAM_LEX_DECL int gram_lex (GRAM_STYPE *val, location *loc)
|
|
Packit Service |
c3aa71 |
GRAM_LEX_DECL;
|
|
Packit Service |
c3aa71 |
|
|
Packit Service |
c3aa71 |
#endif /* !SCAN_GRAM_H_ */
|