aboutsummaryrefslogtreecommitdiffstats
path: root/dfa.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2015-04-26 22:39:23 +0300
committerArnold D. Robbins <arnold@skeeve.com>2015-04-26 22:39:23 +0300
commit043cc39d1352ab67d5b5de3b2991bd422e6c44b3 (patch)
treec1d162c244bef431aa35eedd6b151f2bf472b640 /dfa.c
parent56073f0c0343be08ea16b1ea6b34715eacc89a05 (diff)
parent1770ada8bd6e72dfd3138d72cd6049edca79a4f5 (diff)
downloadegawk-043cc39d1352ab67d5b5de3b2991bd422e6c44b3.tar.gz
egawk-043cc39d1352ab67d5b5de3b2991bd422e6c44b3.tar.bz2
egawk-043cc39d1352ab67d5b5de3b2991bd422e6c44b3.zip
Merge branch 'master' into feature/shadow-builtins
Diffstat (limited to 'dfa.c')
-rw-r--r--dfa.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/dfa.c b/dfa.c
index 2cfd30b6..69c30804 100644
--- a/dfa.c
+++ b/dfa.c
@@ -996,9 +996,8 @@ find_pred (const char *str)
unsigned int i;
for (i = 0; prednames[i].name; ++i)
if (STREQ (str, prednames[i].name))
- break;
-
- return &prednames[i];
+ return &prednames[i];
+ return NULL;
}
/* Multibyte character handling sub-routine for lex.