# HG changeset patch # User jwe # Date 1067021902 0 # Node ID a4796ccde726eeae73c6b7b6a1d9497ed1951902 # Parent c16f153836a0dc10f60bd1c0ac90950c9f7aca31 [project @ 2003-10-24 18:58:22 by jwe] diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-10-24 John W. Eaton + + * emacs/octave-mod.el (octave-mode-syntax-table): Allow % to be a + comment character. + 2003-10-23 John W. Eaton * Makeconf.in (AWK): Substitute and export it. diff --git a/emacs/octave-mod.el b/emacs/octave-mod.el --- a/emacs/octave-mod.el +++ b/emacs/octave-mod.el @@ -292,15 +292,6 @@ ["Lookup Octave Index" octave-help t]) "Menu for Octave mode.") -;; XXX FIXME XXX -- the syntax mode for `%' is punctuation instead of -;; begin-comment because if it is begin-comment, then typing M-; -;; (octave-indent-for-comment) on lines like -;; -;; sprintf ("%d", foobar); -;; -;; causes them to be improperly indented (the `%' is moved over to the -;; comment-column). - (defvar octave-mode-syntax-table nil "Syntax table in use in octave-mode buffers.") (if octave-mode-syntax-table @@ -323,7 +314,7 @@ (modify-syntax-entry ?\" "\"" table) (modify-syntax-entry ?. "w" table) (modify-syntax-entry ?_ "w" table) - (modify-syntax-entry ?\% "." table) ; see above + (modify-syntax-entry ?\% "<" table) (modify-syntax-entry ?\# "<" table) (modify-syntax-entry ?\n ">" table) (setq octave-mode-syntax-table table))) diff --git a/src/file-io.cc b/src/file-io.cc --- a/src/file-io.cc +++ b/src/file-io.cc @@ -1240,10 +1240,10 @@ @item \"native\"\n\ The format of the current machine.\n\ \n\ -@item \"ieee-le\"\n\ +@item \"ieee-be\"\n\ IEEE big endian.\n\ \n\ -@item \"ieee-be\"\n\ +@item \"ieee-le\"\n\ IEEE little endian.\n\ \n\ @item \"vaxd\"\n\