summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2020-01-25 18:35:47 +0100
committerAkim Demaille <akim.demaille@gmail.com>2020-01-27 06:43:19 +0100
commit78e43ce8ff8add0b184d4c0af2968cacf96a8cb8 (patch)
tree99b7dfae8bc60a28aa811e8bcb2bbc5654817748 /doc
parentfe23e1932322ac3c357b26a4c3b691ba6c709113 (diff)
downloadbison-78e43ce8ff8add0b184d4c0af2968cacf96a8cb8.tar.gz
doc: don't pretend trigonometry is part of arithmetics
* doc/bison.texi (arith_funs): Rename as... (funs): this.
Diffstat (limited to 'doc')
-rw-r--r--doc/bison.texi10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/bison.texi b/doc/bison.texi
index b96d2f69..a3b947b0 100644
--- a/doc/bison.texi
+++ b/doc/bison.texi
@@ -2603,7 +2603,7 @@ struct init
@end group
@group
-struct init const arith_funs[] =
+struct init const funs[] =
@{
@{ "atan", atan @},
@{ "cos", cos @},
@@ -2621,16 +2621,16 @@ symrec *sym_table;
@end group
@group
-/* Put arithmetic functions in table. */
+/* Put functions in table. */
static void
init_table (void)
@end 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);
- ptr->value.fun = arith_funs[i].fun;
+ symrec *ptr = putsym (funs[i].name, FUN);
+ ptr->value.fun = funs[i].fun;
@}
@}
@end group