Mercurial > emacs
changeset 41234:960674f88b4e
(fortran-mode-syntax-table): Specify punctuation syntax for backslash.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 18 Nov 2001 06:51:53 +0000 |
parents | 5755d48e3e1f |
children | 23d7de34a596 |
files | lisp/progmodes/fortran.el |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/fortran.el Sun Nov 18 06:50:58 2001 +0000 +++ b/lisp/progmodes/fortran.el Sun Nov 18 06:51:53 2001 +0000 @@ -232,7 +232,9 @@ (modify-syntax-entry ?/ "." table) (modify-syntax-entry ?\' "\"" table) (modify-syntax-entry ?\" "\"" table) - (modify-syntax-entry ?\\ "\\" table) +;;; Supposedly this is mistaken; Fortran does not treat \ as an escape. +;;; (modify-syntax-entry ?\\ "\\" table) + (modify-syntax-entry ?\\ "." table) ;; This might be better as punctuation, as for C, but this way you ;; can treat floating-point numbers as symbols. (modify-syntax-entry ?. "_" table) ; e.g. `a.ne.b'