summaryrefslogtreecommitdiff
path: root/mpn/lisp
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2000-03-02 22:57:30 +0100
committerKevin Ryde <user42@zip.com.au>2000-03-02 22:57:30 +0100
commit535b2f54c6346b6efca365135697c74a88c1bd04 (patch)
tree412f7c784c436873d35a10e8bd71d388dcf4cef1 /mpn/lisp
parent4667b6fbbf7cc844f41dc585e47e2eebd269c43e (diff)
downloadgmp-535b2f54c6346b6efca365135697c74a88c1bd04.tar.gz
Suppress filladapt postscript comment prefixes.
Diffstat (limited to 'mpn/lisp')
-rw-r--r--mpn/lisp/gmpasm-mode.el8
1 files changed, 7 insertions, 1 deletions
diff --git a/mpn/lisp/gmpasm-mode.el b/mpn/lisp/gmpasm-mode.el
index b53639012..eefabe56b 100644
--- a/mpn/lisp/gmpasm-mode.el
+++ b/mpn/lisp/gmpasm-mode.el
@@ -267,7 +267,13 @@ reinitialize.
;; regexp for "1.", "2." etc is left though.
(gmpasm-delete-from-list 'gmpasm-filladapt-token-table
'("[0-9]+\\(\\.[0-9]+\\)+[ \t]"
- bullet))))
+ bullet))
+
+ ;; "%" as a comment prefix interferes with x86 style register
+ ;; names like %eax, so delete it.
+ (gmpasm-delete-from-list 'gmpasm-filladapt-token-table
+ '("%+" postscript-comment))
+ ))
(set (make-local-variable 'filladapt-token-table)
gmpasm-filladapt-token-table)