mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
(fortran-mode-syntax-table): Specify punctuation syntax for backslash.
This commit is contained in:
parent
a25b40093a
commit
1e8fc05d84
1 changed files with 3 additions and 1 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue