mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
ae597a058a
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226931 91177308-0d34-0410-b5e6-96231b3b80d8 |
||
---|---|---|
.. | ||
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.