mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
685ca8b1e3
In llvm-mode, with electric-pair-mode turned on, typing a literal '[' would print out '[[', and '(' would print a '(('. This was a very annoying bug caused by overzealous syntax-table entries: the parens are already part of the '(' and ')' class by default. Fix this. While at it, notice that i32, i64, i1 etc. are not font-locked despite a clear intent to do so. The issue is that regexp-opt doesn't accept regular expressions. So, spell out the common literal integers with different widths. Differential Revision: http://reviews.llvm.org/D7036 llvm-svn: 226931 |
||
---|---|---|
.. | ||
emacs.el | ||
llvm-mode.el | ||
README | ||
tablegen-mode.el |
-*- 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.