* src/output.h, src/output.c (get_lines_number): Remove.

This commit is contained in:
Akim Demaille
2002-04-22 08:21:19 +00:00
parent 69991a5827
commit 4f940944da
3 changed files with 5 additions and 17 deletions

View File

@@ -1,3 +1,7 @@
2002-04-22 Akim Demaille <akim@epita.fr>
* src/output.h, src/output.c (get_lines_number): Remove.
2002-04-19 Akim Demaille <akim@epita.fr>
* doc/bison.texinfo (Actions): Make clear that `|' is not the same

View File

@@ -132,20 +132,6 @@ static struct obstack format_obstack;
int error_verbose = 0;
/* Returns the number of lines of S. */
size_t
get_lines_number (const char *s)
{
size_t lines = 0;
size_t i;
for (i = 0; s[i]; ++i)
if (s[i] == '\n')
++lines;
return lines;
}
/*----------------------------------------------------------------.
| Format the FIRST and then TABLE_DATA[BEGIN..END[ into OOUT, and |

View File

@@ -1,5 +1,5 @@
/* Output the generated parsing program for bison,
Copyright 2000, 2001 Free Software Foundation, Inc.
Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of Bison, the GNU Compiler Compiler.
@@ -26,8 +26,6 @@ extern int error_verbose;
/* Output the parsing tables and the parser code to FTABLE. */
void output PARAMS ((void));
size_t get_lines_number PARAMS ((const char *s));
void actions_output PARAMS ((FILE *out));
void guards_output PARAMS ((FILE *out));
void token_definitions_output PARAMS ((FILE *out));