template-pre/iar-linker-config-mode.el
changeset 195 e905c8c27321
parent 194 a00fe2a384f9
child 209 9047c4e41e02
equal deleted inserted replaced
194:a00fe2a384f9 195:e905c8c27321
     1 ;; DO NOT EDIT COMMENT! TAG: iar-linker-config-mode
     1 ;; DO NOT EDIT COMMENT! TAG: iar-linker-config-mode
     2 (define-generic-mode iar-linker-config-mode
     2 (define-generic-mode iar-linker-config-mode
     3   '("// " ("/*" . "*/"))
     3   '("// " ("/*" . "*/"))
     4   '("section" "zeroinit" "code" "readwrite" "rw" "readonly" "ro")
     4   '("section" "zeroinit" "code" "readwrite" "rw" "readonly" "ro")
     5   ;; '("define" "symbol" "region" "block" "memory" "place" "in" "at" "do" "not" "initialize" "with" "size" "from" "to")
       
     6   '(
     5   '(
     7     ("\\(define +symbol\\) +\\([_a-zA-Z]+\\) *= *\\(0x[0-9a-fA-F]+\\);"
     6     ("\\(define +symbol\\) +\\([_a-zA-Z]+\\) *= *\\(0x[0-9a-fA-F]+\\);"
     8      (1 font-lock-keyword-face)
     7      (1 font-lock-keyword-face)
     9      (2 font-lock-variable-name-face)
     8      (2 font-lock-variable-name-face)
    10      (3 font-lock-constant-face) )
     9      (3 font-lock-constant-face) )