From: Andrea Corallo Date: Sun, 24 May 2020 21:49:38 +0000 (+0100) Subject: ; Ease ifdef navigation in native-comp files X-Git-Tag: emacs-28.0.90~2727^2~612 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2bc41e0963275e77ca3627fbfd754fcc041405cb;p=emacs.git ; Ease ifdef navigation in native-comp files * src/comp.c (syms_of_comp): Add a comment to ease #endif understading. * src/comp.h: Likewise. --- diff --git a/src/comp.c b/src/comp.c index b4e3e2e887f..32a98173d53 100644 --- a/src/comp.c +++ b/src/comp.c @@ -4722,7 +4722,8 @@ syms_of_comp (void) doc: /* Hash table symbol-name -> function-value. For internal use during */); Vcomp_deferred_pending_h = CALLN (Fmake_hash_table, QCtest, Qeq); -#endif + +#endif /* #ifdef HAVE_NATIVE_COMP */ defsubr (&Snative_comp_available_p); } diff --git a/src/comp.h b/src/comp.h index c6f23dc1468..1f64a6df550 100644 --- a/src/comp.h +++ b/src/comp.h @@ -100,7 +100,8 @@ extern void finish_delayed_disposal_of_comp_units (void); extern void dispose_all_remaining_comp_units (void); extern void clean_package_user_dir_of_old_comp_units (void); -#else + +#else /* #ifdef HAVE_NATIVE_COMP */ static inline void maybe_defer_native_compilation (Lisp_Object function_name, @@ -127,6 +128,6 @@ static inline void finish_delayed_disposal_of_comp_units (void) {} -#endif +#endif /* #ifdef HAVE_NATIVE_COMP */ -#endif +#endif /* #ifndef COMP_H */