mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-20 01:33:03 +00:00
doc: don't pretend trigonometry is part of arithmetics
* doc/bison.texi (arith_funs): Rename as... (funs): this.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user