Lorenzo Bettini wrote:
Attached, you find the fixed xml.lang definition file, which now highlights xml file correctly.

ehm... sorry... forgot the attachment :-)

--
+-----------------------------------------------------+
| Lorenzo Bettini          ICQ# lbetto, 16080134      |
| PhD in Computer Science, DSI, Univ. di Firenze      |
| Florence - Italy        (GNU/Linux User # 158233)   |
| http://www.lorenzobettini.it                        |
| http://tronprog.blogspot.com  BLOG                  |
| http://www.purplesucker.com Deep Purple Cover Band  |
| http://www.gnu.org/software/src-highlite            |
| http://www.gnu.org/software/gengetopt               |
| http://www.lorenzobettini.it/software/gengen        |
| http://www.lorenzobettini.it/software/doublecpp     |
+-----------------------------------------------------+
state preproc delim "<?xml" "?>" multiline begin
  string delim "\"" "\"" escape "\\" multiline
end

comment delim "<!--" "-->" multiline nested

keyword = '<(/)?[[:alnum:]:_]+(/)?>'

state keyword delim '<(/)?[[:alnum:]:_]+' '(/)?>' multiline begin
  type = '[^="[:blank:]>]+'
  symbol = "="
  string delim "\"" "\"" escape "\\" multiline
end

preproc = '&([[:alnum:]]+);'
_______________________________________________
Help-source-highlight mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-source-highlight

Reply via email to