Commit 1e8fc05d authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(fortran-mode-syntax-table): Specify punctuation syntax for backslash.

parent a25b4009
......@@ -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'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment