emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/julia-mode 549a7b4 341/352: Remove C_NULL from constants a


From: ELPA Syncer
Subject: [nongnu] elpa/julia-mode 549a7b4 341/352: Remove C_NULL from constants and add Cvoid
Date: Sun, 29 Aug 2021 11:23:14 -0400 (EDT)

branch: elpa/julia-mode
commit 549a7b4587bcb4c196ae83e0c5eeeb5fb50a2e26
Author: Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>
Commit: Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>

    Remove C_NULL from constants and add Cvoid
    
    C_NULL is the only highlighted constant exported from Base. In a
    baremodule, it is undefined (and therefore can't be assumed to be a
    constant).
    
    Cvoid is a constant alias for nothing exported from Core.
---
 julia-mode.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/julia-mode.el b/julia-mode.el
index 31831d0..5c5c8f8 100644
--- a/julia-mode.el
+++ b/julia-mode.el
@@ -273,7 +273,8 @@
    (cons julia-macro-regex ''julia-macro-face)
    (cons
     (regexp-opt
-     '("true" "false" "C_NULL" "Inf" "NaN" "Inf32" "NaN32" "nothing" "undef" 
"missing")
+     ;; constants defined in Core plus true/false
+     '("true" "false" "Cvoid" "Inf" "NaN" "Inf32" "NaN32" "nothing" "undef" 
"missing")
      'symbols)
     'font-lock-constant-face)
    (cons "ccall" 'font-lock-builtin-face)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]