Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
657fcfbd
Commit
657fcfbd
authored
Aug 06, 1997
by
Richard M. Stallman
Browse files
Whitespace change.
parent
fbbd6e46
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
src/regex.c
src/regex.c
+7
-6
No files found.
src/regex.c
View file @
657fcfbd
...
...
@@ -2185,11 +2185,11 @@ regex_compile (pattern, size, syntax, bufp)
}
else
{
/* Could be the end of the bracket expression. If it's
not (i.e., when the bracket expression is `[]' so
far), the ']' character bit gets set way below. */
if (c == ']' && p != p1 + 1)
break;
/* Could be the end of the bracket expression. If it's
not (i.e., when the bracket expression is `[]' so
far), the ']' character bit gets set way below. */
if (c == ']' && p != p1 + 1)
break;
}
/* If C indicates start of multibyte char, get the
...
...
@@ -2210,7 +2210,8 @@ regex_compile (pattern, size, syntax, bufp)
else if (!escaped_char &&
syntax & RE_CHAR_CLASSES && c == '[' && *p == ':')
{ /* Leave room for the null. */
{
/* Leave room for the null. */
char str[CHAR_CLASS_MAX_LENGTH + 1];
PATFETCH (c);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment