summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-11-20 18:37:19 +0100
committerJim Meyering <meyering@redhat.com>2011-11-20 18:37:19 +0100
commita46a6acf2f8c052c3fcf3baaa1932ef3335a96b9 (patch)
treeb32c45d921794e0a87f38a938dca2d2754f66ece
parent4cfdc71cc57ccf501e1ec97483576636615ce784 (diff)
downloadgrep-a46a6acf2f8c052c3fcf3baaa1932ef3335a96b9.tar.gz
maint: remove an avoidable #ifdef/#endif pair
* src/dfa.c (dfaanalyze): Remove avoidable #ifdef around "{".
-rw-r--r--src/dfa.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/dfa.c b/src/dfa.c
index 8db4aba5..dc89a76f 100644
--- a/src/dfa.c
+++ b/src/dfa.c
@@ -2122,9 +2122,7 @@ dfaanalyze (struct dfa *d, int searchflag)
CALLOC(d->follows, d->tindex);
for (i = 0; i < d->tindex; ++i)
-#ifdef DEBUG
- { /* Nonsyntactic #ifdef goo... */
-#endif
+ {
switch (d->tokens[i])
{
case EMPTY:
@@ -2249,8 +2247,8 @@ dfaanalyze (struct dfa *d, int searchflag)
prtok(d->tokens[lastpos[j].index]);
}
putc('\n', stderr);
- }
#endif
+ }
/* For each follow set that is the follow set of a real position, replace
it with its epsilon closure. */