Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
f937a7db
Commit
f937a7db
authored
Feb 07, 2008
by
Jan Djärv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(DECODE_EMACS_MULE_COMPOSITION_CHAR): Use "do...while (0)".
parent
a1c2ac9a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
src/ChangeLog
src/ChangeLog
+4
-0
src/coding.c
src/coding.c
+2
-2
No files found.
src/ChangeLog
View file @
f937a7db
2008-02-07 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
* coding.c (DECODE_EMACS_MULE_COMPOSITION_CHAR): Use "do...while (0)".
2008-02-07 Jim Meyering <meyering@redhat.com>
Use "do...while (0)", not "if (1)..else" in macro definitions.
...
...
src/coding.c
View file @
f937a7db
...
...
@@ -1898,7 +1898,7 @@ detect_coding_emacs_mule (coding, detect_info)
value 0. */
#define DECODE_EMACS_MULE_COMPOSITION_CHAR(buf) \
if (1)
\
do
\
{ \
int c; \
int nbytes, nchars; \
...
...
@@ -1916,7 +1916,7 @@ detect_coding_emacs_mule (coding, detect_info)
src += nbytes; \
consumed_chars += nchars; \
} \
else
while (0)
/* Decode a composition rule represented as a component of composition
...
...
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