branch: elpa/forth-mode
commit 05e8a027960c77ac5a09bda959889de57ecbb486
Author: Helmut Eller <[email protected]>
Commit: Helmut Eller <[email protected]>

    Highlight LEAVE
    
    * forth-syntax.el (forth-syntax--font-lock-keywords): Include "leave".
---
 forth-syntax.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/forth-syntax.el b/forth-syntax.el
index e2b23aec43..ac245ed25a 100644
--- a/forth-syntax.el
+++ b/forth-syntax.el
@@ -198,7 +198,7 @@ SYNTAX must be a valid argument for `string-to-syntax'."
 
 (defvar forth-syntax--font-lock-keywords
   '("if" "else" "then"
-    "?do" "do" "unloop" "exit" "loop" "+loop"
+    "?do" "do" "unloop" "exit" "leave" "loop" "+loop"
     "begin" "while" "repeat" "again" "until"
     "case" "of" "endof" "endcase"
     ":noname" ";" "does>" "immediate"

Reply via email to