diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-03-29 13:17:10 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-03-29 13:17:10 (GMT) |
| commit | b0b75a50838fb17c643dad2d633c7240d207db96 (patch) | |
| tree | ab995338e4b7059fabdc9b295e5948e263bd0651 /generic/tclRegexp.c | |
| parent | 432fbdc37562b215a1955ebc8c5af4aadd24315a (diff) | |
| download | tcl-b0b75a50838fb17c643dad2d633c7240d207db96.zip tcl-b0b75a50838fb17c643dad2d633c7240d207db96.tar.gz tcl-b0b75a50838fb17c643dad2d633c7240d207db96.tar.bz2 | |
More progress
Diffstat (limited to 'generic/tclRegexp.c')
| -rw-r--r-- | generic/tclRegexp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclRegexp.c b/generic/tclRegexp.c index 5b13dd9..aac47bb 100644 --- a/generic/tclRegexp.c +++ b/generic/tclRegexp.c @@ -918,8 +918,8 @@ CompileRegexp( regexpPtr = (TclRegexp*)Tcl_Alloc(sizeof(TclRegexp)); regexpPtr->objPtr = NULL; regexpPtr->string = NULL; - regexpPtr->details.rm_extend.rm_so = -1; - regexpPtr->details.rm_extend.rm_eo = -1; + regexpPtr->details.rm_extend.rm_so = TCL_INDEX_NONE; + regexpPtr->details.rm_extend.rm_eo = TCL_INDEX_NONE; /* * Get the up-to-date string representation and map to unicode. |
