This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] simplify some regex code


This patch simplifies some conditionals by passing a token type directly to
the functions.

Tested against the sed regression test suite.

Paolo

2003-12-13 Paolo Bonzini <bonzini@gnu.org>
        * posix/regexec.c (find_subexp_node, check_arrival,
        check_arrival_add_next_nodes, check_arrival_expand_ecl,
        check_arrival_expand_ecl_sub, expand_bkref_cache):
        Rename the FL_OPEN parameter to TYPE, which is either
        OP_OPEN_SUBEXP or OP_CLOSE_SUBEXP. Callers adjusted.

Attachment: regex-fl_open-cleanup.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]