mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-12 22:03:02 +00:00
to pacify gcc -Wswitch-default. * src/scan-gram.l (adjust_location): Use a default: break; case to pacify gcc -Wswitch-default. * src/scan-skel.h (skel_get_lineno, skel_get_in, skel_get_out): (skel_get_leng, skel_get_text, skel_set_lineno, skel_set_in): (skel_set_out, skel_get_debug, skel_set_debug, skel_lex_destroy): Move these decls to scan-skel.l, since they don't need to be visible elsewhere. * src/scan-skel.l: Accept the above decls. (skel_lex): New decl, to pacify GCC when unpatched flex 2.5.31 is used.
29 lines
1013 B
C
29 lines
1013 B
C
/* Scan Bison Skeletons.
|
|
|
|
Copyright (C) 2005, 2006 Free Software Foundation, Inc.
|
|
|
|
This file is part of Bison, the GNU Compiler Compiler.
|
|
|
|
Bison 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 2, or (at your option)
|
|
any later version.
|
|
|
|
Bison 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 Bison; see the file COPYING. If not, write to
|
|
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
Boston, MA 02110-1301, USA. */
|
|
|
|
void scan_skel (FILE *);
|
|
|
|
/* Pacify "make syntax-check". */
|
|
extern FILE *skel_in;
|
|
extern FILE *skel_out;
|
|
extern int skel__flex_debug;
|
|
extern int skel_lineno;
|