summaryrefslogtreecommitdiffstats
path: root/generic/regc_lex.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2015-09-21 19:25:20 (GMT)
committerdgp <dgp@users.sourceforge.net>2015-09-21 19:25:20 (GMT)
commit066e9abdc308995186dbc4d9bbc2fedc07674296 (patch)
treec218bc169f19075cbc1a3e813cccac59e791c5c5 /generic/regc_lex.c
parentd9db840088cdabd2863a7bd92ca051cda3f56c46 (diff)
downloadtcl-066e9abdc308995186dbc4d9bbc2fedc07674296.zip
tcl-066e9abdc308995186dbc4d9bbc2fedc07674296.tar.gz
tcl-066e9abdc308995186dbc4d9bbc2fedc07674296.tar.bz2
[187d7f499b] Sync the regexp engine to the Postgres version.
Diffstat (limited to 'generic/regc_lex.c')
-rw-r--r--generic/regc_lex.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/generic/regc_lex.c b/generic/regc_lex.c
index 132e757..16e3ae9 100644
--- a/generic/regc_lex.c
+++ b/generic/regc_lex.c
@@ -1139,24 +1139,6 @@ newline(void)
}
/*
- - ch - return the chr sequence for regc_locale.c's fake collating element ch
- * This helps confine use of CHR to this source file. Beware that the caller
- * knows how long the sequence is.
- ^ #ifdef REG_DEBUG
- ^ static const chr *ch(NOPARMS);
- ^ #endif
- */
-#ifdef REG_DEBUG
-static const chr *
-ch(void)
-{
- static const chr chstr[] = { CHR('c'), CHR('h'), CHR('\0') };
-
- return chstr;
-}
-#endif
-
-/*
- chrnamed - return the chr known by a given (chr string) name
* The code is a bit clumsy, but this routine gets only such specialized
* use that it hardly matters.