]> git.eshelyaron.com Git - emacs.git/commitdiff
(fortran-mode-syntax-table): Specify punctuation syntax for backslash.
authorRichard M. Stallman <rms@gnu.org>
Sun, 18 Nov 2001 06:51:53 +0000 (06:51 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 18 Nov 2001 06:51:53 +0000 (06:51 +0000)
lisp/progmodes/fortran.el

index f921e59782daaa5082c25d995a7356a08921d4b1..24d053e4cd47570e0b043be19e59d3e4e1696c81 100644 (file)
@@ -232,7 +232,9 @@ format style.")
     (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'