This is the mail archive of the
glibc-cvs@sources.redhat.com
mailing list for the glibc project.
libc/posix regcomp.c
- From: drepper at sources dot redhat dot com
- To: glibc-cvs at sources dot redhat dot com
- Date: 12 Oct 2002 08:32:40 -0000
- Subject: libc/posix regcomp.c
CVSROOT: /cvs/glibc
Module name: libc
Changes by: drepper@sources.redhat.com 2002-10-12 01:32:40
Modified files:
posix : regcomp.c
Log message:
(re_compile_fastmap_iter): Remove the handling OP_CONTEXT_NODE.
(regfree): Likewise.
(create_initial_state): Likewise.
(analyze): Remove the substitutions which became useless.
(calc_first): Likewise.
(calc_epsdest): Use edests of OP_BACK_REF in case that it has
epsilon destination.
(duplicate_node_closure): New function.
(duplicate_node): Remove the handling OP_CONTEXT_NODE.
(calc_inveclosure): Likewise.
(calc_eclosure): Likewise.
(calc_eclosure_iter): Invoke duplicate_node_closure instead of
direct invocation of duplicate_node.
(parse): Don't use comma operator in the return to avoid compiler
warning.
(parse_reg_exp): Likewise.
(parse_branch): Likewise.
(parse_expression): Likewise.
(parse_sub_exp): Likewise.
(parse_dup_op): Likewise.