projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/idzebra
[idzebra-moved-to-github.git]
/
dfa
/
readfile.c
diff --git
a/dfa/readfile.c
b/dfa/readfile.c
index
e667954
..
186c9db
100644
(file)
--- a/
dfa/readfile.c
+++ b/
dfa/readfile.c
@@
-18,6
+18,9
@@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#include <assert.h>
#include <stdio.h>
#include <assert.h>
@@
-98,9
+101,9
@@
static void read_rules (struct DFA *dfa)
/* copy rest of line to output */
fputs (s, outf);
else
/* copy rest of line to output */
fputs (s, outf);
else
- {
+ {
/* preprocess regular expression */
/* preprocess regular expression */
- prep (&s);
+ prep (&s);
/* now parse regular expression */
sc = s;
i = dfa_parse (dfa, &sc);
/* now parse regular expression */
sc = s;
i = dfa_parse (dfa, &sc);