[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
grep branch, master, updated. v2.9-25-g875ead8
From: |
Jim Meyering |
Subject: |
grep branch, master, updated. v2.9-25-g875ead8 |
Date: |
Thu, 15 Sep 2011 10:11:07 +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 875ead86cca8f52129cef813ccc0f4c730dc0620 (commit)
via e0ddc20aede7255a9f287cac6f31ab55d4fb72d9 (commit)
via 7ab88c048031be827726dc2e46611cd5c55ecbd0 (commit)
via 2e00c51e30c210e850e24a19de0a050e9795f712 (commit)
from 72ad859d857dd8162078305dc4f8543650141998 (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=875ead86cca8f52129cef813ccc0f4c730dc0620
commit 875ead86cca8f52129cef813ccc0f4c730dc0620
Author: Jim Meyering <address@hidden>
Date: Mon Apr 5 11:37:06 2010 +0200
maint: dfa: improve comments
* src/dfa.c (match_mb_charset, match_anychar): Improve comments.
diff --git a/src/dfa.c b/src/dfa.c
index a0d644f..5b5ed93 100644
--- a/src/dfa.c
+++ b/src/dfa.c
@@ -2863,11 +2863,9 @@ transit_state_singlebyte (struct dfa *d, int s, unsigned
char const *p,
return rval;
}
-/* Check whether period can match or not in the current context. If it can,
- return the amount of the bytes with which period can match, otherwise
- return 0.
- `pos' is the position of the period. `idx' is the index from the
- buf_begin, and it is the current position in the buffer. */
+/* Match a "." against the current context. buf_begin[IDX] is the
+ current position. Return the length of the match, in bytes.
+ POS is the position of the ".". */
static int
match_anychar (struct dfa *d, int s, position pos, int idx)
{
@@ -2903,11 +2901,10 @@ match_anychar (struct dfa *d, int s, position pos, int
idx)
return mbclen;
}
-/* Check whether bracket expression can match or not in the current context.
- If it can, return the amount of the bytes with which expression can match,
- otherwise return 0.
- `pos' is the position of the bracket expression. `idx' is the index
- from the buf_begin, and it is the current position in the buffer. */
+/* Match a bracket expression against the current context.
+ buf_begin[IDX] is the current position.
+ Return the length of the match, in bytes.
+ POS is the position of the bracket expression. */
static int
match_mb_charset (struct dfa *d, int s, position pos, int idx)
{
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=e0ddc20aede7255a9f287cac6f31ab55d4fb72d9
commit 875ead86cca8f52129cef813ccc0f4c730dc0620
Author: Jim Meyering <address@hidden>
Date: Mon Apr 5 11:37:06 2010 +0200
maint: dfa: improve comments
* src/dfa.c (match_mb_charset, match_anychar): Improve comments.
diff --git a/src/dfa.c b/src/dfa.c
index a0d644f..5b5ed93 100644
--- a/src/dfa.c
+++ b/src/dfa.c
@@ -2863,11 +2863,9 @@ transit_state_singlebyte (struct dfa *d, int s, unsigned
char const *p,
return rval;
}
-/* Check whether period can match or not in the current context. If it can,
- return the amount of the bytes with which period can match, otherwise
- return 0.
- `pos' is the position of the period. `idx' is the index from the
- buf_begin, and it is the current position in the buffer. */
+/* Match a "." against the current context. buf_begin[IDX] is the
+ current position. Return the length of the match, in bytes.
+ POS is the position of the ".". */
static int
match_anychar (struct dfa *d, int s, position pos, int idx)
{
@@ -2903,11 +2901,10 @@ match_anychar (struct dfa *d, int s, position pos, int
idx)
return mbclen;
}
-/* Check whether bracket expression can match or not in the current context.
- If it can, return the amount of the bytes with which expression can match,
- otherwise return 0.
- `pos' is the position of the bracket expression. `idx' is the index
- from the buf_begin, and it is the current position in the buffer. */
+/* Match a bracket expression against the current context.
+ buf_begin[IDX] is the current position.
+ Return the length of the match, in bytes.
+ POS is the position of the bracket expression. */
static int
match_mb_charset (struct dfa *d, int s, position pos, int idx)
{
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=7ab88c048031be827726dc2e46611cd5c55ecbd0
commit 875ead86cca8f52129cef813ccc0f4c730dc0620
Author: Jim Meyering <address@hidden>
Date: Mon Apr 5 11:37:06 2010 +0200
maint: dfa: improve comments
* src/dfa.c (match_mb_charset, match_anychar): Improve comments.
diff --git a/src/dfa.c b/src/dfa.c
index a0d644f..5b5ed93 100644
--- a/src/dfa.c
+++ b/src/dfa.c
@@ -2863,11 +2863,9 @@ transit_state_singlebyte (struct dfa *d, int s, unsigned
char const *p,
return rval;
}
-/* Check whether period can match or not in the current context. If it can,
- return the amount of the bytes with which period can match, otherwise
- return 0.
- `pos' is the position of the period. `idx' is the index from the
- buf_begin, and it is the current position in the buffer. */
+/* Match a "." against the current context. buf_begin[IDX] is the
+ current position. Return the length of the match, in bytes.
+ POS is the position of the ".". */
static int
match_anychar (struct dfa *d, int s, position pos, int idx)
{
@@ -2903,11 +2901,10 @@ match_anychar (struct dfa *d, int s, position pos, int
idx)
return mbclen;
}
-/* Check whether bracket expression can match or not in the current context.
- If it can, return the amount of the bytes with which expression can match,
- otherwise return 0.
- `pos' is the position of the bracket expression. `idx' is the index
- from the buf_begin, and it is the current position in the buffer. */
+/* Match a bracket expression against the current context.
+ buf_begin[IDX] is the current position.
+ Return the length of the match, in bytes.
+ POS is the position of the bracket expression. */
static int
match_mb_charset (struct dfa *d, int s, position pos, int idx)
{
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=2e00c51e30c210e850e24a19de0a050e9795f712
commit 875ead86cca8f52129cef813ccc0f4c730dc0620
Author: Jim Meyering <address@hidden>
Date: Mon Apr 5 11:37:06 2010 +0200
maint: dfa: improve comments
* src/dfa.c (match_mb_charset, match_anychar): Improve comments.
diff --git a/src/dfa.c b/src/dfa.c
index a0d644f..5b5ed93 100644
--- a/src/dfa.c
+++ b/src/dfa.c
@@ -2863,11 +2863,9 @@ transit_state_singlebyte (struct dfa *d, int s, unsigned
char const *p,
return rval;
}
-/* Check whether period can match or not in the current context. If it can,
- return the amount of the bytes with which period can match, otherwise
- return 0.
- `pos' is the position of the period. `idx' is the index from the
- buf_begin, and it is the current position in the buffer. */
+/* Match a "." against the current context. buf_begin[IDX] is the
+ current position. Return the length of the match, in bytes.
+ POS is the position of the ".". */
static int
match_anychar (struct dfa *d, int s, position pos, int idx)
{
@@ -2903,11 +2901,10 @@ match_anychar (struct dfa *d, int s, position pos, int
idx)
return mbclen;
}
-/* Check whether bracket expression can match or not in the current context.
- If it can, return the amount of the bytes with which expression can match,
- otherwise return 0.
- `pos' is the position of the bracket expression. `idx' is the index
- from the buf_begin, and it is the current position in the buffer. */
+/* Match a bracket expression against the current context.
+ buf_begin[IDX] is the current position.
+ Return the length of the match, in bytes.
+ POS is the position of the bracket expression. */
static int
match_mb_charset (struct dfa *d, int s, position pos, int idx)
{
-----------------------------------------------------------------------
Summary of changes:
gnulib | 2 +-
src/dfa.c | 35 +++++++++++++++++------------------
2 files changed, 18 insertions(+), 19 deletions(-)
hooks/post-receive
--
grep
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- grep branch, master, updated. v2.9-25-g875ead8,
Jim Meyering <=