projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22e8053
)
Convert INTERRUPTABLE_EXTENT to use `do { ... } while (0)'.
author
Taylor R Campbell
<campbell@mumble.net>
Fri, 29 Oct 2010 05:57:41 +0000
(
05:57
+0000)
committer
Taylor R Campbell
<campbell@mumble.net>
Fri, 29 Oct 2010 05:57:41 +0000
(
05:57
+0000)
src/microcode/intext.h
patch
|
blob
|
history
diff --git
a/src/microcode/intext.h
b/src/microcode/intext.h
index b8e657736d069971d24d63357b6cf67a12f2a600..4d7aa0c14c6974637b34646b2e4bca2bfcf9b1b6 100644
(file)
--- a/
src/microcode/intext.h
+++ b/
src/microcode/intext.h
@@
-42,7
+42,7
@@
extern struct interruptable_extent * enter_interruptable_extent (void);
extern int enter_interruption_extent (void);
extern void exit_interruption_extent (void);
-#define INTERRUPTABLE_EXTENT(result, expression)
\
+#define INTERRUPTABLE_EXTENT(result, expression)
do
\
{ \
int saved_errno; \
struct interruptable_extent * INTERRUPTABLE_EXTENT_frame = \
@@
-60,6
+60,6
@@
extern void exit_interruption_extent (void);
saved_errno = errno; \
dstack_set_position (current_interruptable_extent -> position); \
errno = saved_errno; \
-}
+}
while (0)
#endif /* SCM_INTEXT_H */