]> Savannah Git Hosting - gnulib.git/commit
dfa: prefer functions to FETCH_WC macro
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 2 Jan 2017 20:22:17 +0000 (12:22 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 2 Jan 2017 20:23:47 +0000 (12:23 -0800)
commit74557b94b677678e335dbe257b1ff9aed54ed3c9
tree04791581b54f3f7fff51880776160820c7eca1cc
parentc8355b773e65995aa6c9620c65c3a4958ca14026
dfa: prefer functions to FETCH_WC macro

* lib/dfa.c (FETCH_WC): Remove, replacing with ...
(fetch_wc, bracket_fetch_wc): ... new functions.  These store the
wint_t result into DFA->lex.wctok instead of to a separate arg.
All callers changed.  Move more local decls closer to where
they're used.
ChangeLog
lib/dfa.c