|
c26fc754
|
1995-11-11T20:51:37
|
|
(NUM_FAILURE_ITEMS, POP_FAILURE_POINT, PUSH_FAILURE_POINT):
Do not test for backtracking--do the same thing with or without.
(_GNU_SOURCE): Undef before defining.
(re_max_failures): Initialize to just 20000.
|
|
bacf0a7d
|
1995-10-29T19:36:39
|
|
(POP_FAILURE_POINT): Use .word.integer.
|
|
3bb6a39f
|
1995-10-22T17:47:13
|
|
Don't declare alloca.
|
|
b28e3978
|
1995-10-19T00:50:51
|
|
(TRANSLATE, PATFETCH): Cast elt of `translate'.
Don't define if already defined.
(regex_compile): Use RE_TRANSLATE_TYPE for `translate'.
(compile_range, re_search_2, re_match_2_internal, bcmp_translate)
(regcomp): Use RE_TRANSLATE_TYPE for `translate'.
|
|
58d50470
|
1995-10-01T20:17:02
|
|
(re_search_2): Use 0, not -1, as the lower bound
for the match position when we adjust RANGE.
|
|
38f1379d
|
1995-09-01T18:43:30
|
|
(re_search_2): If pattern starts with \=, optimize search.
|
|
dcfe0405
|
1995-08-22T19:44:26
|
|
(PUSH_FAILURE_POINT, POP_FAILURE_POINT): Don't push or pop
register values if POSIX backtracking is turned off.
(NUM_FAILURE_ITEMS): Value is 0 if no POSIX backtracking.
|
|
f4a6f048
|
1995-07-17T23:24:57
|
|
Fix conditional.
|
|
2db486e1
|
1995-07-07T13:20:16
|
|
Don't use relocatable allocator.
|
|
f5480e4a
|
1995-06-20T03:11:14
|
|
Use `defined' to test HAVE_STRING_H and STDC_HEADERS.
|
|
0424b458
|
1995-06-03T17:32:10
|
|
Undefined INHIBIT_STRING_HEADER when we have no
other way of getting a bcopy and a bzero.
|
|
19a3ecee
|
1995-05-29T06:15:30
|
|
(at_endline_loc_p): Use 0, not NULL, in ?: for next_next.
|
|
4ab0903a
|
1995-05-26T22:35:10
|
|
(NULL): Use explicit cast.
|
|
03f2d7c0
|
1995-05-21T06:19:05
|
|
[REGEX_FREE]: Use ((void)0) instead of just (0).
|
|
72d7735e
|
1995-05-20T16:40:11
|
|
Add `#ifdef _LIBC' in a few places, so this can be compiled in libc.
|
|
024d33aa
|
1995-05-17T20:54:49
|
|
Updated from ../gpl2lgpl.sed /home/gd/gnu/lib/regex.c
|
|
65b12a92
|
1995-05-17T20:29:52
|
|
(re_compile_fastmap): Undo previous change.
(RESET_FAIL_STACK): New macro.
(re_compile_fastmap): Use RESET_FAIL_STACK, not REGEX_FREE_STACK
directly.
|
|
d5dda417
|
1995-05-15T23:30:28
|
|
(re_compile_fastmap): Don't free stack if it's empty.
(re_match_failures): Reduce the larger value to 200000,
and use whenever if MATCH_MAY_ALLOCATE.
(MATCH_MAY_ALLOCATE): Don't consider REL_ALLOC when deciding
whether to undef this.
|
|
372b6ed4
|
1995-05-06T20:14:52
|
|
[! emacs]: #undef REL_ALLOC.
|
|
079ec867
|
1995-05-02T16:27:24
|
|
(union fail_stack_elt): New union.
(fail_stack_elt_t): Use that union.
(PUSH_PATTERN_OP, PUSH_FAILURE_POINTER, PUSH_FAILURE_INT)
(POP_FAILURE_POINTER, POP_FAILURE_INT): Corresponding changes.
(re_compile_fastmap): Corresponding changes.
(PUSH_FAILURE_ELT): New macro.
(FAIL_STACK_TOP): Macro deleted.
(WIDE_INT): Macro deleted.
(PUSH_FAILURE_POINT): Use PUSH_FAILURE_ELT.
(POP_FAILURE_ELT): New macro.
(POP_FAILURE_POINT): Use POP_FAILURE_ELT.
|
|
b634689f
|
1995-04-29T20:21:41
|
|
(PUSH_FAILURE_INT, POP_FAILURE_INT): Use WIDE_INT.
(WIDE_INT): Defined (two alternate definitions).
(C_ALLOCA): Undef it, if __GNUC__.
(REGEX_ALLOCATE_STACK, REGEX_REALLOCATE_STACK)
(REGEX_FREE_STACK): New macros.
(INIT_FAIL_STACK, DOUBLE_FAIL_STACK, FREE_VARIABLES): Use them.
(re_max_failures) [REL_ALLOC]: Alternative larger initial value.
(re_compile_fastmap): Use REGEX_FREE_STACK.
(re_match_2_internal): Always call FREE_VARIABLES before returning.
Always init regstart, old_regstart, etc. whenever MATCH_MAY_ALLOCATE
is defined.
(FREE_VARIABLES) [REL_ALLOC]: Define non-trivially.
|
|
8bd7f00f
|
1995-04-09T19:14:40
|
|
(re_match_2_internal): Eliminate cast of ptr to int.
(PUSH_FAILURE_ITEM, POP_FAILURE_ITEM): Macros deleted.
(PUSH_FAILURE_INT, POP_FAILURE_INT): New macros.
(PUSH_FAILURE_POINTER, POP_FAILURE_POINTER): New macros.
(re_match_2_internal): Rename label `succeed' to `succeed_label'.
|
|
993d006a
|
1995-02-28T13:46:40
|
|
(SET_REGS_MATCHED): Enclose if-stmt in `do {...} while(0)'
instead of using trailing `else' -- otherwise, gcc -Wall complains
of `empty body in an else-statement'.
|
|
29052bf0
|
1995-01-18T20:47:36
|
|
[!emacs] (SWITCH_ENUM_CAST): New macro, from emacs/lisp.h
(re_compile_fastmap, re_match_2_internal): Use that macro instead of testing
SWITCH_ENUM_BUG.
|
|
a151c685
|
1994-12-30T23:28:45
|
|
(regex_compile): Use putchar, not printchar.
|
|
2a3ec5ac
|
1994-12-24T23:40:43
|
|
(SET_REGS_MATCHED): Do nothing if set_regs_matched_done is 1.
Set set_regs_matched_done to 1.
(re_match_2_internal): New local var set_regs_matched_done.
Set it to 0 when appropriate.
(POP_FAILURE_POINT): Set set_regs_matched_done to 0.
(re_match_2_internal, case duplicate): Call SET_REGS_MATCHED.
|
|
3a78e396
|
1994-12-11T23:16:11
|
|
[REG_UNSET_VALUE]: Define to the address of a static variable rather than to
((char *) -1). The latter got a warning on IRIX64.
|
|
f691792f
|
1994-12-01T22:59:35
|
|
(gettext): Make sure this is always defined, even #if emacs.
(NULL): No need to #undef this anymore; Emacs uses NILP now.
|
|
47386749
|
1994-11-29T16:25:39
|
|
(re_compile_pattern, re_comp, regerror): Add gettext wrapper.
(re_error_msgid): Renamed from `re_error_msg', for consistency
with other source files that declare arrays of message ids.
Identifiers ending in `msgid' are special to to some prototype
message-extracting utilities.
Make "Success" be the 0th entry, so it can be extracted too.
(re_comp): Replace "Memory exhausted" with
re_error_msgid[REG_ESPACE], to aid message consistency.
|
|
ef355703
|
1994-11-19T13:57:27
|
|
(re_compile_fastmap): Really, really treat `succeed' like end.
|
|
4d70dae6
|
1994-11-19T10:37:38
|
|
(re_compile_fastmap): Really treat `succeed' like end.
|
|
f3bbc7d9
|
1994-11-18T01:04:41
|
|
(re_compile_fastmap): Treat `succeed' like end of pattern.
|
|
9ce56b15
|
1994-11-16T20:29:39
|
|
(re_opcode_t): New opcode `succeed'
(re_match_2_internal): Handle `succeed'.
(regex_compile): Handle RE_NO_BACKTRACKING.
(re_syntax_options): Delete initializer.
|
|
f683a15f
|
1994-10-26T22:43:45
|
|
(re_comp, re_exec): Define this obsolete 4.2bsd
interface only if the new feature test macro _REGEX_RE_COMP is defined.
This avoids a clash with Cray YMP include files.
|
|
ffe2d238
|
1994-10-18T03:48:00
|
|
(exactn): Initializer deleted.
|
|
c5e2eb9e
|
1994-10-01T09:07:05
|
|
Comment change.
|
|
c48e3b6b
|
1994-10-01T09:06:07
|
|
(compile_range): When casting to const unsigned char *, put const first.
|
|
ee000fca
|
1994-09-26T21:59:04
|
|
remove CONFIG_BROKETS
|
|
27ddb52d
|
1994-08-17T23:13:50
|
|
(regex_compile): Split an if to avoid compiler bug.
(re_match_2_internal): Use separate if to compute bestmatch_p.
|
|
7e1f424f
|
1994-07-31T20:59:32
|
|
(compile_range): Avoid warning in casts for range_start/end.
|
|
fa9bc2e0
|
1994-07-15T07:48:35
|
|
(re_match_2_internal): Add casts to shut up some compilers.
(FREE_STACK_RETURN): Nest the free inside the return.
|
|
5fa9de2f
|
1994-07-05T07:25:05
|
|
Be less eager to define MATCH_MAY_ALLOCATE.
|
|
35b1ca49
|
1994-07-02T00:10:58
|
|
(re_compile_fastmap): Either set fastmap['\n'] to 1 or don't change it.
(re_match_2_internal): If the last match is real
best match, don't restore second best one.
|
|
d67d8aa8
|
1994-07-01T06:19:16
|
|
entered into RCS
|
|
fce39f5c
|
1994-05-06T15:23:06
|
|
*** empty log message ***
|
|
2cf947da
|
1994-05-04T21:21:25
|
|
*** empty log message ***
|
|
3f1f92b3
|
1994-05-04T01:58:05
|
|
*** empty log message ***
|
|
3ec5c68b
|
1994-04-27T20:02:46
|
|
*** empty log message ***
|
|
bd047239
|
1994-04-23T04:07:29
|
|
*** empty log message ***
|
|
58aaedfe
|
1994-04-21T19:45:27
|
|
*** empty log message ***
|
|
5b336d45
|
1994-04-21T19:26:10
|
|
*** empty log message ***
|
|
aa858093
|
1994-04-21T03:24:35
|
|
*** empty log message ***
|
|
85e4db5e
|
1994-03-26T05:37:00
|
|
*** empty log message ***
|
|
f8f8b5e8
|
1994-03-04T22:26:03
|
|
*** empty log message ***
|
|
a2b0b10e
|
1994-02-25T01:30:59
|
|
*** empty log message ***
|
|
4ea05bc2
|
1994-02-23T23:04:30
|
|
*** empty log message ***
|
|
32da3a01
|
1994-02-08T04:01:10
|
|
*** empty log message ***
|
|
e5defe3f
|
1994-02-08T03:47:10
|
|
*** empty log message ***
|
|
f8486ff9
|
1993-11-20T04:05:45
|
|
*** empty log message ***
|
|
8553da94
|
1993-11-15T04:04:59
|
|
*** empty log message ***
|
|
5edaf024
|
1993-11-06T08:05:07
|
|
*** empty log message ***
|
|
c5611545
|
1993-10-12T05:02:22
|
|
*** empty log message ***
|
|
57466cb3
|
1993-06-16T21:28:28
|
|
*** empty log message ***
|
|
ea09b4c7
|
1993-06-10T12:50:56
|
|
*** empty log message ***
|
|
61887bc3
|
1993-06-07T08:06:10
|
|
*** empty log message ***
|
|
4ad4a451
|
1993-05-22T08:30:16
|
|
*** empty log message ***
|
|
724b14a4
|
1993-05-22T08:16:25
|
|
*** empty log message ***
|
|
d1b05d19
|
1993-05-22T07:25:53
|
|
*** empty log message ***
|
|
04b772e5
|
1993-05-13T01:47:22
|
|
*** empty log message ***
|
|
0b8c9a6a
|
1993-04-30T16:42:24
|
|
*** empty log message ***
|
|
6c4e2e5a
|
1993-04-06T02:42:52
|
|
*** empty log message ***
|
|
ba806906
|
1993-04-02T23:12:15
|
|
*** empty log message ***
|
|
73996f19
|
1993-04-02T22:53:56
|
|
*** empty log message ***
|
|
cc444694
|
1993-03-09T17:03:08
|
|
*** empty log message ***
|
|
7ab35831
|
1993-01-07T01:47:11
|
|
*** empty log message ***
|
|
c8e6bc0c
|
1992-12-14T02:28:29
|
|
*** empty log message ***
|
|
a50c698e
|
1992-12-12T14:44:09
|
|
*** empty log message ***
|
|
e1c6111c
|
1992-12-12T02:55:16
|
|
*** empty log message ***
|
|
8507923f
|
1992-12-08T00:39:49
|
|
*** empty log message ***
|
|
dec45f4c
|
1992-12-01T18:28:07
|
|
*** empty log message ***
|
|
73304847
|
1992-11-26T04:42:40
|
|
*** empty log message ***
|
|
bfae0f7e
|
1992-11-24T14:17:32
|
|
*** empty log message ***
|
|
cb106d54
|
1992-11-21T01:51:22
|
|
*** empty log message ***
|
|
9fc5a7b2
|
1992-11-15T10:30:58
|
|
*** empty log message ***
|
|
d59c8610
|
1992-09-16T14:52:41
|
|
Initial revision
|