Commit 928b874a authored by bguillaum's avatar bguillaum

caml mode for lexical rules

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/semagramme/libcaml-grew/trunk@6767 7838e531-6607-4d57-9587-6c381814729c
parent bbf18747
......@@ -6,7 +6,7 @@
(require 'generic-x) ;;pour Emacs OK, mais semble ne pas marcher avec XEmacs
(define-generic-mode 'grew-mode
'("%");;comments
'("features" "module" "rule" "match" "without" "labels" "bad_labels" "sequences" "commands" "graph" "confluent" "include");;keywords
'("features" "module" "rule" "lex_rule" "match" "without" "labels" "bad_labels" "sequences" "commands" "graph" "confluent" "include");;keywords
'(
;; ("class\\s (\*\*)* +\\(\\sw[a-zA-Z0-9_.-]*\\)" 1 'font-lock-type-face);noms de classes
;; ("\?[a-zA-Z0-9]+" . font-lock-variable-name-face)
......@@ -25,8 +25,7 @@
("add_node" . font-lock-constant-face)
("del_feat" . font-lock-constant-face)
("@[a-zA-Z0-9_]+" . font-lock-variable-name-face)
("$[a-zA-Z0-9_]+" . font-lock-variable-name-face)
)
'(".grs\\'") ;;file extension
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment