Mercurial > hg > xemacs-beta
comparison src/profile.h @ 3282:390dee4913ba
[xemacs-hg @ 2006-03-14 19:31:41 by james]
Add a missing do to a do { ... } while(0) macro. See message ID
<1141930812.4329.8.camel@jerrypc.cs.usu.edu> on the xemacs-patches list.
author | james |
---|---|
date | Tue, 14 Mar 2006 19:31:43 +0000 |
parents | facf3239ba30 |
children | 8f6a825eb3d3 |
comparison
equal
deleted
inserted
replaced
3281:57711e9aac15 | 3282:390dee4913ba |
---|---|
111 | 111 |
112 #define RETURN_LISP_EXIT_PROFILING(tag, expr) \ | 112 #define RETURN_LISP_EXIT_PROFILING(tag, expr) \ |
113 RETURN_EXIT_PROFILING (tag, Lisp_Object, expr) | 113 RETURN_EXIT_PROFILING (tag, Lisp_Object, expr) |
114 | 114 |
115 #define RETURN_UNGCPRO_EXIT_PROFILING(tag, expr) \ | 115 #define RETURN_UNGCPRO_EXIT_PROFILING(tag, expr) \ |
116 do \ | |
116 { \ | 117 { \ |
117 Lisp_Object ret_ungc_val = (expr); \ | 118 Lisp_Object ret_ungc_val = (expr); \ |
118 UNGCPRO; \ | 119 UNGCPRO; \ |
119 PROFILE_RECORD_EXITING_SECTION (tag); \ | 120 PROFILE_RECORD_EXITING_SECTION (tag); \ |
120 RETURN_SANS_WARNINGS ret_ungc_val; \ | 121 RETURN_SANS_WARNINGS ret_ungc_val; \ |