aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--dfa.c4
-rw-r--r--dfa.h2
3 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 318531dd..e6494d89 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2016-01-02 Arnold D. Robbins <arnold@skeeve.com>
+
+ * dfa.c (add_utf8_anychar): Minor change in declaration of
+ utf8_classes to keep Tiny CC happy. Also syncs with grep.
+ * dfa.h: Sync with grep (update copyright year).
+
2015-12-27 Arnold D. Robbins <arnold@skeeve.com>
* awkgram.y (mk_condition): Revise to correctly handle
diff --git a/dfa.c b/dfa.c
index 12b388d1..b7ad51eb 100644
--- a/dfa.c
+++ b/dfa.c
@@ -1,5 +1,5 @@
/* dfa.c - deterministic extended regexp routines for GNU
- Copyright (C) 1988, 1998, 2000, 2002, 2004-2005, 2007-2015 Free Software
+ Copyright (C) 1988, 1998, 2000, 2002, 2004-2005, 2007-2016 Free Software
Foundation, Inc.
This program is free software; you can redistribute it and/or modify
@@ -1694,7 +1694,7 @@ addtok_wc (wint_t wc)
static void
add_utf8_anychar (void)
{
- static const charclass utf8_classes[5] = {
+ static charclass const utf8_classes[5] = {
/* 80-bf: non-leading bytes. */
{0, 0, 0, 0, CHARCLASS_WORD_MASK, CHARCLASS_WORD_MASK, 0, 0},
diff --git a/dfa.h b/dfa.h
index 4060dfaf..18be7f51 100644
--- a/dfa.h
+++ b/dfa.h
@@ -1,5 +1,5 @@
/* dfa.h - declarations for GNU deterministic regexp compiler
- Copyright (C) 1988, 1998, 2007, 2009-2015 Free Software Foundation, Inc.
+ Copyright (C) 1988, 1998, 2007, 2009-2016 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by