summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2004-12-31 10:11:49 +0000
committerPaolo Bonzini <bonzini@gnu.org>2008-01-09 16:11:41 +0100
commit32cf31f2ba6fbeb61740e3ad40005e5052317ad5 (patch)
tree5250f6d1c1126579eec301f488a8e99dc7a3a880 /Makefile.am
parent5135bf48145a3def165d6e558ca715b5235eb3a9 (diff)
downloadsed-32cf31f2ba6fbeb61740e3ad40005e5052317ad5.tar.gz
compute inveclosure only if actually needed.
2004-12-31 Paolo Bonzini <bonzini@gnu.org> * regcomp.c (calc_inveclosure): Return reg_errcode_t. Initialize the node sets in dfa->inveclosures. (analyze): Initialize inveclosures only if it is needed. Check errors from calc_inveclosure. * regex_internal.c (re_dfa_add_node): Do not initialize the inveclosure node set. * regexec.c (re_search_internal): If nmatch includes unused subexpressions, reset them to { rm_so: -1, rm_eo: -1 } here. Limit to preg->re_nsubs the nmatch that is passed to set_regs. (set_regs): Remove the real_nmatch variable, the nmatch parameter now is <= preg->re_nsubs. git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-34
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions