From 640d55ecdaced9e826a95a0bce4c65a3e5965cae Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Sat, 2 Jan 2016 19:40:51 +0200 Subject: Minor fix in dfa.c. Sync dfa with grep. --- ChangeLog | 6 ++++++ dfa.c | 4 ++-- dfa.h | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index d7aaa6e1..10716022 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2016-01-02 Arnold D. Robbins + + * 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 * awkgram.y (mk_condition): Revise to correctly handle diff --git a/dfa.c b/dfa.c index 6be21027..76d3fab9 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 @@ -1706,7 +1706,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 -- cgit v1.2.3