grep-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grep branch, master, updated. v2.18-135-g504646d


From: Jim Meyering
Subject: grep branch, master, updated. v2.18-135-g504646d
Date: Fri, 09 May 2014 19:34:18 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".

The branch, master has been updated
       via  504646d81b5010d5ef303d864d862714cccdf03e (commit)
      from  39bae8f8947adc0bd7f8e6b82177330d6c423320 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=504646d81b5010d5ef303d864d862714cccdf03e


commit 504646d81b5010d5ef303d864d862714cccdf03e
Author: Jim Meyering <address@hidden>
Date:   Tue May 6 09:08:19 2014 -0700

    maint: mark some breakless cases with /* fallthrough */ comment
    
    * src/dfa.c (addtok_mb, dfaanalyze): Add comment so that it is
    clear that the "break" statement is deliberately omitted.

diff --git a/src/dfa.c b/src/dfa.c
index fc6ce72..591788c 100644
--- a/src/dfa.c
+++ b/src/dfa.c
@@ -1598,8 +1598,10 @@ addtok_mb (token t, int mbprop)
 
     case BACKREF:
       dfa->fast = false;
+      /* fallthrough */
     default:
       ++dfa->nleaves;
+      /* fallthrough */
     case EMPTY:
       ++depth;
       break;
@@ -2380,6 +2382,7 @@ dfaanalyze (struct dfa *d, int searchflag)
               merge (&tmp, &d->follows[pos[j].index], &merged);
               copy (&merged, &d->follows[pos[j].index]);
             }
+          /* fallthrough */
 
         case QMARK:
           /* A QMARK or STAR node is automatically nullable.  */

-----------------------------------------------------------------------

Summary of changes:
 src/dfa.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
grep



reply via email to

[Prev in Thread] Current Thread [Next in Thread]