aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1997-08-06 06:31:13 +0000
committerRichard M. Stallman1997-08-06 06:31:13 +0000
commit657fcfbd4150f53c40223693688cba83bc91e9b3 (patch)
treef3f7cfee1c7e5d55c8ab6c42cd078f769e2092e8 /src
parentfbbd6e46c08239a3302e20c7637339adf7c18be5 (diff)
downloademacs-657fcfbd4150f53c40223693688cba83bc91e9b3.tar.gz
emacs-657fcfbd4150f53c40223693688cba83bc91e9b3.zip
Whitespace change.
Diffstat (limited to 'src')
-rw-r--r--src/regex.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/regex.c b/src/regex.c
index 4924eba3130..5a98af0678e 100644
--- a/src/regex.c
+++ b/src/regex.c
@@ -2185,11 +2185,11 @@ regex_compile (pattern, size, syntax, bufp)
2185 } 2185 }
2186 else 2186 else
2187 { 2187 {
2188 /* Could be the end of the bracket expression. If it's 2188 /* Could be the end of the bracket expression. If it's
2189 not (i.e., when the bracket expression is `[]' so 2189 not (i.e., when the bracket expression is `[]' so
2190 far), the ']' character bit gets set way below. */ 2190 far), the ']' character bit gets set way below. */
2191 if (c == ']' && p != p1 + 1) 2191 if (c == ']' && p != p1 + 1)
2192 break; 2192 break;
2193 } 2193 }
2194 2194
2195 /* If C indicates start of multibyte char, get the 2195 /* If C indicates start of multibyte char, get the
@@ -2210,7 +2210,8 @@ regex_compile (pattern, size, syntax, bufp)
2210 2210
2211 else if (!escaped_char && 2211 else if (!escaped_char &&
2212 syntax & RE_CHAR_CLASSES && c == '[' && *p == ':') 2212 syntax & RE_CHAR_CLASSES && c == '[' && *p == ':')
2213 { /* Leave room for the null. */ 2213 {
2214 /* Leave room for the null. */
2214 char str[CHAR_CLASS_MAX_LENGTH + 1]; 2215 char str[CHAR_CLASS_MAX_LENGTH + 1];
2215 2216
2216 PATFETCH (c); 2217 PATFETCH (c);