summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2012-01-03 10:56:31 +0100
committerPaolo Bonzini <bonzini@gnu.org>2012-01-03 16:32:15 +0100
commit8ca76081a985a0dda3bddf8f172b794495efea33 (patch)
tree722e3a58b97bc6967c4babaabf162121bcb24007
parent97eca7990cfd661e51bb3337aef3105065b227c5 (diff)
downloadgrep-8ca76081a985a0dda3bddf8f172b794495efea33.tar.gz
dfa: fix incorrect comment
* src/dfa.c (dfastate): Fix comment for newline.
-rw-r--r--src/dfa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dfa.c b/src/dfa.c
index 2f751c66..8dbadd53 100644
--- a/src/dfa.c
+++ b/src/dfa.c
@@ -2364,7 +2364,7 @@ dfastate (int s, struct dfa *d, int trans[])
charclass leftovers; /* Stuff in the label that didn't match. */
int leftoversf; /* True if leftovers is nonempty. */
static charclass letters; /* Set of characters considered letters. */
- static charclass newline; /* Set of characters that aren't newline. */
+ static charclass newline; /* Set of characters that are newline. */
position_set follows; /* Union of the follows of some group. */
position_set tmp; /* Temporary space for merging sets. */
int state; /* New state. */