From 84c53436ab25b6c8f76c133e59b34e533ea33cc7 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 5 Nov 2016 20:41:37 -0700 Subject: Prefer comments /* like this */ in C code Emacs C code assumes C99 features, but has long used traditional comments /* like this */ instead of C99-style comments // like this. Stick with traditional comments for now, partly for style, partly as it may be safer with compilers that are not fully in C99 mode. --- src/emacs-module.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/emacs-module.c') diff --git a/src/emacs-module.c b/src/emacs-module.c index eca5af739b9..a28fe57b12d 100644 --- a/src/emacs-module.c +++ b/src/emacs-module.c @@ -142,8 +142,8 @@ static emacs_value const module_nil = 0; or a pointer to handle non-local exits. The function must have an ENV parameter. The function will return the specified value if a signal or throw is caught. */ -// TODO: Have Fsignal check for CATCHER_ALL so we only have to install -// one handler. +/* TODO: Have Fsignal check for CATCHER_ALL so we only have to install + one handler. */ #define MODULE_HANDLE_NONLOCAL_EXIT(retval) \ MODULE_SETJMP (CONDITION_CASE, module_handle_signal, retval); \ MODULE_SETJMP (CATCHER_ALL, module_handle_throw, retval) @@ -163,7 +163,7 @@ static emacs_value const module_nil = 0; code after the macro may longjmp back into the macro, which means its local variable C must stay live in later code. */ -// TODO: Make backtraces work if this macros is used. +/* TODO: Make backtraces work if this macros is used. */ #define MODULE_SETJMP_1(handlertype, handlerfunc, retval, c, dummy) \ if (module_non_local_exit_check (env) != emacs_funcall_exit_return) \ -- cgit v1.2.1