mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-14 23:03:04 +00:00
* src/output.h, src/output.c (get_lines_number): Remove.
This commit is contained in:
14
src/output.c
14
src/output.c
@@ -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 |
|
||||
|
||||
Reference in New Issue
Block a user