fixes
This commit is contained in:
parent
c46f0e07a7
commit
a1cb38b82b
|
@ -10,8 +10,8 @@
|
||||||
"Keywords in Ztl.")
|
"Keywords in Ztl.")
|
||||||
|
|
||||||
(defvar ztl-types
|
(defvar ztl-types
|
||||||
'("char" "str" "integer" "int" "real"
|
'("byte" "str" "int" "real"
|
||||||
"logical" "bool" "error" "err"
|
"logical" "bool" "err"
|
||||||
"i8" "i16" "i32" "i64" "i128"
|
"i8" "i16" "i32" "i64" "i128"
|
||||||
"f8" "f16" "f32" "f64" "f128")
|
"f8" "f16" "f32" "f64" "f128")
|
||||||
"Types in Ztl.")
|
"Types in Ztl.")
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
;; Structs (PascalCase)
|
;; Structs (PascalCase)
|
||||||
'("\\b[A-Z][A-Za-z0-9_]*\\b" . font-lock-type-face)
|
'("\\b[A-Z][A-Za-z0-9_]*\\b" . font-lock-type-face)
|
||||||
;; Numbers
|
;; Numbers
|
||||||
'("\\b\\([0-9]+\\(?:\\.[0-9]*\\)?\\)\\b" . font-lock-constant-face)
|
'("\\b\\([0-9]+\\(?:\\.[0-9]*\\)?\\)\\b" . font-lock-number-face)
|
||||||
;; Function calls
|
;; Function calls
|
||||||
'("\\b\\([a-zA-Z_][a-zA-Z0-9_]*\\)\\s-*(" (1 font-lock-function-name-face))
|
'("\\b\\([a-zA-Z_][a-zA-Z0-9_]*\\)\\s-*(" (1 font-lock-function-name-face))
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue