Mercurial > emacs
annotate src/m/alliant1.h @ 55690:daeeb5ef2d95
Add support for new '\_<' and '\_>' regexp operators, matching the
beginning and ends of symbols.
* regex.c (enum syntaxcode): Add Ssymbol.
(init_syntax_once): Set the syntax for '_' to Ssymbol, not Sword.
(re_opcode_t): New opcodes `symbeg' and `symend'.
(print_partial_compiled_pattern): Print the new opcodes properly.
(regex_compile): Parse the new operators.
(analyse_first): Skip symbeg and symend (they match only the empty string).
(mutually_exclusive_p): `symend' is mutually exclusive with \s_ and
\sw; `symbeg' is mutually exclusive with \S_ and \Sw.
(re_match_2_internal): Match symbeg and symend.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Wed, 19 May 2004 16:37:35 +0000 |
parents | 695cf19ef79e |
children | 375f2633d815 |
rev | line source |
---|---|
457 | 1 /* config.h should include this file for version 1 of Alliant's |
2 operating system. */ | |
3 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
457
diff
changeset
|
4 /* The following line tells the configuration script what sort of |
457 | 5 operating system this machine is likely to run. |
6 USUAL-OPSYS="bsd4-2" */ | |
7 | |
8 #define ALLIANT_1 | |
9 #include "alliant.h" | |
52401 | 10 |
11 /* arch-tag: 516688f9-4b94-4356-9bf0-92b2d72e664e | |
12 (do not change this comment) */ |