doc: don't pretend trigonometry is part of arithmetics

* doc/bison.texi (arith_funs): Rename as...
(funs): this.
This commit is contained in:
Akim Demaille
2020-01-25 18:35:47 +01:00
parent fe23e19323
commit 78e43ce8ff

View File

@@ -2603,7 +2603,7 @@ struct init
@end group @end group
@group @group
struct init const arith_funs[] = struct init const funs[] =
@{ @{
@{ "atan", atan @}, @{ "atan", atan @},
@{ "cos", cos @}, @{ "cos", cos @},
@@ -2621,16 +2621,16 @@ symrec *sym_table;
@end group @end group
@group @group
/* Put arithmetic functions in table. */ /* Put functions in table. */
static void static void
init_table (void) init_table (void)
@end group @end group
@group @group
@{ @{
for (int i = 0; arith_funs[i].name; i++) for (int i = 0; funs[i].name; i++)
@{ @{
symrec *ptr = putsym (arith_funs[i].name, FUN); symrec *ptr = putsym (funs[i].name, FUN);
ptr->value.fun = arith_funs[i].fun; ptr->value.fun = funs[i].fun;
@} @}
@} @}
@end group @end group