aboutsummaryrefslogtreecommitdiffstats
path: root/src/regex.c
diff options
context:
space:
mode:
authorKenichi Handa2010-03-08 10:53:37 +0900
committerKenichi Handa2010-03-08 10:53:37 +0900
commit59513a2f81060efb01a8a6d684901718c3b4d236 (patch)
tree5433967c8574959bf737f94ea33ed5edf5c8a177 /src/regex.c
parentb799f2211562060966feabf1975a11b3985264a9 (diff)
parentb327c9751037d3d8abc7485c6a78ec96f4da1c1e (diff)
downloademacs-59513a2f81060efb01a8a6d684901718c3b4d236.tar.gz
emacs-59513a2f81060efb01a8a6d684901718c3b4d236.zip
from trunk
Diffstat (limited to 'src/regex.c')
-rw-r--r--src/regex.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/regex.c b/src/regex.c
index bb921a5b519..f242446796d 100644
--- a/src/regex.c
+++ b/src/regex.c
@@ -3065,6 +3065,13 @@ regex_compile (pattern, size, syntax, bufp)
3065 don't need to handle them for multibyte. 3065 don't need to handle them for multibyte.
3066 They are distinguished by a negative wctype. */ 3066 They are distinguished by a negative wctype. */
3067 3067
3068 /* Setup the gl_state object to its buffer-defined
3069 value. This hardcodes the buffer-global
3070 syntax-table for ASCII chars, while the other chars
3071 will obey syntax-table properties. It's not ideal,
3072 but it's the way it's been done until now. */
3073 SETUP_SYNTAX_TABLE (BEGV, 0);
3074
3068 for (ch = 0; ch < 256; ++ch) 3075 for (ch = 0; ch < 256; ++ch)
3069 { 3076 {
3070 c = RE_CHAR_TO_MULTIBYTE (ch); 3077 c = RE_CHAR_TO_MULTIBYTE (ch);