llvm-project/llvm/utils/emacs
Chris Lattner e754764aa9 'Previously, the emacs tablegen mode would highlight constants even if
they appear in words. This would cause things like the "128" in "VR128"
to be highlighted. This patch fixes the highlighting by only recognizing 
constants when they have word breaks around them.'

Patch by Stefanus Du Toit!

llvm-svn: 53944
2008-07-23 04:49:20 +00:00
..
README * Added (X)Emacs mode for TableGen description files 2003-08-11 19:10:02 +00:00
emacs.el Change llvm.cs.uiuc.edu -> llvm.org 2006-03-14 06:05:05 +00:00
llvm-mode.el Update this file for 2.0 syntax. Contributed by Jan Rehders 2007-10-19 16:54:13 +00:00
tablegen-mode.el 'Previously, the emacs tablegen mode would highlight constants even if 2008-07-23 04:49:20 +00:00

README

-*- llvm/utils/emacs/README -*-

These are syntax highlighting files for the Emacs and XEmacs editors. Included
are:

* llvm-mode.el

  Syntax highlighting mode for LLVM assembly files. To use, add this code to
  your ~/.emacs :

  (setq load-path
    (cons (expand-file-name "path-to-llvm/utils/emacs") load-path))
  (require 'llvm-mode)
  
* tablegen-mode.el

  Syntax highlighting mode for TableGen description files. To use, add this code
  to your ~/.emacs:

  (setq load-path
    (cons (expand-file-name "path-to-llvm/utils/emacs") load-path))
  (require 'tablegen-mode)


Note: If you notice missing or incorrect syntax highlighting, please contact
<llvmbugs [at] cs.uiuc.edu>; if you wish to provide a patch to improve the
functionality, it will be most appreciated. Thank you.