]> git.eshelyaron.com Git - emacs.git/commitdiff
; Ease ifdef navigation in native-comp files
authorAndrea Corallo <akrl@sdf.org>
Sun, 24 May 2020 21:49:38 +0000 (22:49 +0100)
committerAndrea Corallo <akrl@sdf.org>
Sun, 24 May 2020 21:49:38 +0000 (22:49 +0100)
* src/comp.c (syms_of_comp): Add a comment to ease #endif
understading.

* src/comp.h: Likewise.

src/comp.c
src/comp.h

index b4e3e2e887fa3d406332171b6b64f56701db312b..32a98173d53f50332bc9ec52e169f320b4d8870f 100644 (file)
@@ -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);
 }
index c6f23dc146890eebc52fe8697a9985ae081699d3..1f64a6df5502e54b5a2b7e3a54049e0db06ef44e 100644 (file)
@@ -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 */