diff options
| author | Richard M. Stallman | 2001-11-18 06:51:53 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2001-11-18 06:51:53 +0000 |
| commit | 1e8fc05d84e8b224634096f2b4b8de8a6eb016ca (patch) | |
| tree | 82e03d1791d78ef6eabf1b60774e44c32ff6aa17 | |
| parent | a25b40093a5cd1c25d437f98e0ea8b1ea99657d5 (diff) | |
| download | emacs-1e8fc05d84e8b224634096f2b4b8de8a6eb016ca.tar.gz emacs-1e8fc05d84e8b224634096f2b4b8de8a6eb016ca.zip | |
(fortran-mode-syntax-table): Specify punctuation syntax for backslash.
| -rw-r--r-- | lisp/progmodes/fortran.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/progmodes/fortran.el b/lisp/progmodes/fortran.el index f921e59782d..24d053e4cd4 100644 --- a/lisp/progmodes/fortran.el +++ b/lisp/progmodes/fortran.el | |||
| @@ -232,7 +232,9 @@ format style.") | |||
| 232 | (modify-syntax-entry ?/ "." table) | 232 | (modify-syntax-entry ?/ "." table) |
| 233 | (modify-syntax-entry ?\' "\"" table) | 233 | (modify-syntax-entry ?\' "\"" table) |
| 234 | (modify-syntax-entry ?\" "\"" table) | 234 | (modify-syntax-entry ?\" "\"" table) |
| 235 | (modify-syntax-entry ?\\ "\\" table) | 235 | ;;; Supposedly this is mistaken; Fortran does not treat \ as an escape. |
| 236 | ;;; (modify-syntax-entry ?\\ "\\" table) | ||
| 237 | (modify-syntax-entry ?\\ "." table) | ||
| 236 | ;; This might be better as punctuation, as for C, but this way you | 238 | ;; This might be better as punctuation, as for C, but this way you |
| 237 | ;; can treat floating-point numbers as symbols. | 239 | ;; can treat floating-point numbers as symbols. |
| 238 | (modify-syntax-entry ?. "_" table) ; e.g. `a.ne.b' | 240 | (modify-syntax-entry ?. "_" table) ; e.g. `a.ne.b' |