From 2bc41e0963275e77ca3627fbfd754fcc041405cb Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Sun, 24 May 2020 22:49:38 +0100 Subject: [PATCH] ; Ease ifdef navigation in native-comp files * src/comp.c (syms_of_comp): Add a comment to ease #endif understading. * src/comp.h: Likewise. --- src/comp.c | 3 ++- src/comp.h | 7 ++++--- 2 files changed, 6 insertions(+), 4 deletions(-) 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 */ -- 2.39.5