bug-grep
[Top][All Lists]
Advanced

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

[PATCH] dfa: fix incorrect comment


From: Paolo Bonzini
Subject: [PATCH] dfa: fix incorrect comment
Date: Tue, 3 Jan 2012 17:04:16 +0100

* src/dfa.c (dfastate): Fix comment for newline.
---
 src/dfa.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/dfa.c b/src/dfa.c
index 2f751c6..8dbadd5 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. */
-- 
1.7.7.1




reply via email to

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