]> Savannah Git Hosting - gnulib.git/commit
dfa: separate parse and compile phase
authorNorihiro Tanaka <noritnk@kcn.ne.jp>
Wed, 11 Dec 2019 20:53:09 +0000 (12:53 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 11 Dec 2019 23:09:38 +0000 (15:09 -0800)
commitac92492294ca52fe2596f6353a3fe2800052f676
treecc362ef5819a855ec25f5bb16e033f35c652739e
parent76a168b272d371cfba73e89c7d0feeca3bee4c6d
dfa: separate parse and compile phase

‘dfamust’ must be called after parsing and before tokens are
reordered, but both are executed in the compilation phase.
Token reordering was introduced in Gnulib commit
2018-10-22T15:01:08Z!noritnk@kcn.ne.jp
(5c7a0371823876cca7a1347fa09ca26bbbff0c98).
* lib/dfa.c (dfaparse): Change it to global function.
(dfacomp): If first argument is NULL, skip parse.
* lib/dfa.h: (dfaparse): Add a prototype.
ChangeLog
lib/dfa.c
lib/dfa.h