diff options
author | john haque <j.eh@mchsi.com> | 2012-04-17 13:00:13 -0500 |
---|---|---|
committer | john haque <j.eh@mchsi.com> | 2012-04-17 13:00:13 -0500 |
commit | b1062311a3caab9ec89c0f104bd9b4334174f23c (patch) | |
tree | 08a64713888026fb80fd80360343a51aebd8a593 /re.c | |
parent | e729adf120f279fd65578a410ca8d2d93a56f0f0 (diff) | |
parent | f0345a29c71a3215adaa0e2fdfefc0c439ea6561 (diff) | |
download | egawk-b1062311a3caab9ec89c0f104bd9b4334174f23c.tar.gz egawk-b1062311a3caab9ec89c0f104bd9b4334174f23c.tar.bz2 egawk-b1062311a3caab9ec89c0f104bd9b4334174f23c.zip |
Merge branch 'master' into gawk_mpfr.
Diffstat (limited to 're.c')
-rw-r--r-- | re.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -3,7 +3,7 @@ */ /* - * Copyright (C) 1991-2011 the Free Software Foundation, Inc. + * Copyright (C) 1991-2012 the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the * AWK Programming Language. @@ -268,7 +268,7 @@ research(Regexp *rp, char *str, int start, */ if (rp->dfa && ! no_bol && ! need_start) { char save; - int count = 0; + size_t count = 0; /* * dfa likes to stick a '\n' right after the matched * text. So we just save and restore the character. @@ -322,6 +322,7 @@ void dfaerror(const char *s) { fatal("%s", s); + exit(EXIT_FATAL); /* for DJGPP */ } /* re_update --- recompile a dynamic regexp */ |