aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--support/ChangeLog4
-rw-r--r--support/dfa.c4
2 files changed, 7 insertions, 1 deletions
diff --git a/support/ChangeLog b/support/ChangeLog
index 6098e40a..3d476f43 100644
--- a/support/ChangeLog
+++ b/support/ChangeLog
@@ -1,3 +1,7 @@
+2020-05-08 Arnold D. Robbins <arnold@skeeve.com>
+
+ * dfa.c: Sync from GNULIB.
+
2020-04-26 Arnold D. Robbins <arnold@skeeve.com>
* dfa.c: Speed improvements from Norihiro Tanaka <noritnk@kcn.ne.jp>,
diff --git a/support/dfa.c b/support/dfa.c
index 7e671127..3a776b06 100644
--- a/support/dfa.c
+++ b/support/dfa.c
@@ -61,7 +61,9 @@ isasciidigit (char c)
#include "localeinfo.h"
#ifndef FALLTHROUGH
-# if __GNUC__ < 7
+# if 201710L < __STDC_VERSION__
+# define FALLTHROUGH [[__fallthrough__]]
+# elif __GNUC__ < 7
# define FALLTHROUGH ((void) 0)
# else
# define FALLTHROUGH __attribute__ ((__fallthrough__))