Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
554d39be
Commit
554d39be
authored
Jul 23, 2010
by
Juanma Barranquero
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* make-docfile.c (write_c_args): Correctly handle prefixes of "defalt".
parent
1eb5ca1c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
lib-src/ChangeLog
lib-src/ChangeLog
+4
-0
lib-src/make-docfile.c
lib-src/make-docfile.c
+1
-1
No files found.
lib-src/ChangeLog
View file @
554d39be
2010-07-23 Juanma Barranquero <lekktu@gmail.com>
* make-docfile.c (write_c_args): Correctly handle prefixes of "defalt".
2010-07-20 Juanma Barranquero <lekktu@gmail.com>
* emacsclient.c (get_current_dir_name, w32_get_resource)
...
...
lib-src/make-docfile.c
View file @
554d39be
...
...
@@ -488,7 +488,7 @@ write_c_args (FILE *out, char *func, char *buf, int minargs, int maxargs)
/* In C code, `default' is a reserved word, so we spell it
`defalt'; unmangle that here. */
if
(
strncmp
(
ident_start
,
"defalt"
,
ident_length
)
==
0
)
if
(
ident_length
==
6
&&
strncmp
(
ident_start
,
"defalt"
,
6
)
==
0
)
fprintf
(
out
,
"DEFAULT"
);
else
while
(
ident_length
--
>
0
)
...
...
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