Mercurial > emacs
view src/s/bsdos4.h @ 28342:9761cf2351fa
(enum re_opcode_t): New opcode on_failure_jump_nastyloop.
(print_partial_compiled_pattern, re_compile_fastmap): Handle new opcode.
(regex_compile): Use on_failure_jump_nastyloop for non-greedy loops.
(re_match_2_internal): Add code for on_failure_jump_nastyloop when
executing it as well as when popping it off the stack to find infinite
loops in non-greedy repetition operators.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Sun, 26 Mar 2000 23:05:51 +0000 |
parents | 1f372b20fb99 |
children | 695cf19ef79e |
line wrap: on
line source
/* s/ file for BSDI BSD/OS 4.0 system. */ #include "bsdos3.h" /* BSD/OS 4.1 and later have ncurses */ #ifdef HAVE_LIBNCURSES #define TERMINFO #define LIBS_TERMCAP -lncurses #endif /* HAVE_LIBNCURSES */ /* copied from freebsd.h */ #ifdef __ELF__ #define LD_SWITCH_SYSTEM #undef START_FILES #define START_FILES \ pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o #define UNEXEC unexelf.o #define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtend.o /usr/lib/crtn.o #undef LIB_GCC #define LIB_GCC #endif /* not __ELF__ */