aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/progmodes/fortran.el4
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'