portability: we use termios.h and sys/ioctl.h

Reported by Maarten De Braekeleer.
https://lists.gnu.org/r/bison-patches/2020-07/msg00079.html

* bootstrap.conf (gnulib_modules): Add termios and sys_ioctl.
This commit is contained in:
Akim Demaille
2020-08-01 21:03:17 +02:00
parent ad6f600bb1
commit 2f8a874215
6 changed files with 12 additions and 1 deletions
+2
View File
@@ -8,6 +8,8 @@ GNU Bison NEWS
Portability issues with libtextstyle.
Portability issues of Bison itself with MSVC.
** Changes
Improvements and fixes in the documentation.
+4
View File
@@ -467,6 +467,10 @@ both deterministic and generalized parsing.
It would be great for D to also support this.
The basic ideas of GLR are explained here:
https://www.codeproject.com/Articles/5259825/GLR-Parsing-in-Csharp-How-to-Use-The-Most-Powerful
* Better error messages
The users are not provided with enough tools to forge their error messages.
See for instance "Is there an option to change the message produced by
+2
View File
@@ -45,6 +45,8 @@ gnulib_modules='
relocatable-prog relocatable-script
rename
spawn-pipe stdbool stpcpy stpncpy strdup-posix strerror strverscmp
sys_ioctl
termios
timevar
unicodeio unistd unistd-safer unlink unlocked-io
update-copyright unsetenv verify
+1
View File
@@ -336,6 +336,7 @@
/sys_types.in.h
/sys_wait.in.h
/sysexits.in.h
/termios.in.h
/textstyle.h
/textstyle.in.h
/time.h
+2
View File
@@ -183,6 +183,7 @@
/strndup.m4
/strnlen.m4
/strverscmp.m4
/sys_ioctl_h.m4
/sys_resource_h.m4
/sys_socket_h.m4
/sys_stat_h.m4
@@ -190,6 +191,7 @@
/sys_times_h.m4
/sys_types_h.m4
/sys_wait_h.m4
/termios_h.m4
/threadlib.m4
/time_h.m4
/timespec.m4
+1 -1
View File
@@ -121,6 +121,6 @@ static struct obstack obstack_for_string;
obstack_free (&obstack_for_string, last_string); \
last_string = NULL; \
} while (0)
#endif
# endif
#endif