[Top][All Lists]

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

[gawk-diffs] [SCM] gawk branch, master, updated. 34add399b437907a2107f22

From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, master, updated. 34add399b437907a2107f22ebd92d0b04d93a80c
Date: Fri, 29 Apr 2011 09:33:50 +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 "gawk".

The branch, master has been updated
       via  34add399b437907a2107f22ebd92d0b04d93a80c (commit)
      from  5f7dd5191cd5973d69de1f6860d775802bc896e6 (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 -----------------------------------------------------------------

commit 34add399b437907a2107f22ebd92d0b04d93a80c
Author: Arnold D. Robbins <address@hidden>
Date:   Fri Apr 29 12:33:34 2011 +0300

    Sync dfa.c with GNU grep.

diff --git a/ChangeLog b/ChangeLog
index 7ea33c2..6f24933 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Fri Apr 29 12:29:56 2011  Arnold D. Robbins  <address@hidden>
+       * dfa.c: Sync with GNU grep, mainly typos in comments.
 Fri Apr 29 12:13:32 2011  Arnold D. Robbins  <address@hidden>
        * io.c (inetfile): Change ifdef to ifndef for have getaddrinfo.
diff --git a/dfa.c b/dfa.c
index 953774b..4e02dbb 100644
--- a/dfa.c
+++ b/dfa.c
@@ -129,7 +129,7 @@ typedef int charclass[CHARCLASS_INTS];
    Word-constituent characters are those that satisfy isalnum().
-   The macro SUCCEEDS_IN_CONTEXT determines whether a a given constraint
+   The macro SUCCEEDS_IN_CONTEXT determines whether a given constraint
    succeeds in a particular context.  Prevn is true if the previous character
    was a newline, currn is true if the lookahead character is a newline.
    Prevl and currl similarly depend upon whether the previous and current
@@ -177,7 +177,7 @@ typedef enum
                                    the empty string. */
   BACKREF,                     /* BACKREF is generated by \<digit>; it
-                                   it not completely handled.  If the scanner
+                                   is not completely handled.  If the scanner
                                    detects a transition on backref, it returns
                                    a kind of "semi-success" indicating that
                                    the match will have to be verified with
@@ -2560,7 +2560,7 @@ dfastate (int s, struct dfa *d, int trans[])
              by accepting accepts 1st byte of <mb A>, and state[i+1]
              accepts 2nd byte of <mb A>, if state[i+1] encounter the
              codepoint of <sb a>, it must not be <sb a> but 2nd byte of
-             <mb A>, so we can not add state[0].  */
+             <mb A>, so we cannot add state[0].  */
           next_isnt_1st_byte = 0;
           for (j = 0; j < follows.nelem; ++j)
@@ -3014,7 +3014,7 @@ check_matching_with_multibyte_ops (struct dfa *d, int s, 
int idx)
           rarray[i] = match_mb_charset(d, s, pos, idx);
-          break; /* can not happen.  */
+          break; /* cannot happen.  */
   return rarray;


Summary of changes:
 ChangeLog |    4 ++++
 dfa.c     |    8 ++++----
 2 files changed, 8 insertions(+), 4 deletions(-)


reply via email to

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