branch: externals/a68-mode
commit 0effda17cb4608aa8263c796eccc1d2505ecf448
Author: Omar Polo <[email protected]>
Commit: Omar Polo <[email protected]>

    handle the comma better
---
 a68-mode.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/a68-mode.el b/a68-mode.el
index 9ab19f72db..31e67d71c1 100644
--- a/a68-mode.el
+++ b/a68-mode.el
@@ -104,7 +104,7 @@
   "Highlighting expressions for Algol 68 mode.")
 
 (defvar a68--keywords-regexp
-  (regexp-opt '("+" "*" ";" ">" "<" ":=" "=")))
+  (regexp-opt '("+" "*" ";" ">" "<" ":=" "=" ",")))
 
 (defvar a68--smie-grammar
   (smie-prec2->grammar
@@ -169,6 +169,7 @@
     (modify-syntax-entry ?# "<" st)
     (modify-syntax-entry ?# ">" st)
     (modify-syntax-entry ?\\ "." st)
+    (modify-syntax-entry ?, "." st)
     ;; define parentheses to match
     (modify-syntax-entry ?\( "()" st)
     (modify-syntax-entry ?\) ")(" st)

Reply via email to