Provide a fix for transpose syntax problem

* matlab-syntax.el (matlab--transpose-syntax): Apply patch provided by Eric Ludlam to fix a transpose syntax problem
This commit is contained in:
Eric Ludlam 2022-04-12 11:11:12 +02:00
parent 45febb409c
commit a5e88cda8e
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2022-04-12 Uwe Brauer <oub@mat.ucm.es>
* matlab-syntax.el (matlab--transpose-syntax): Apply patch
provided by Eric Ludlam to fix a transpose syntax problem
2022-03-11 John Ciolfi <ciolfi@mathworks.com>
* matlab-netshell.el, matlab-shell-gud.el, matlab-shell.el, matlab.el, mlgud.el

View File

@ -229,7 +229,7 @@ and `matlab--scan-line-for-unterminated-string' for specific details."
"\\s-+\\(\\s$\\|\\w\\|\\s_\\)")))
(goto-char (match-beginning 2)))))
(matlab--syntax-symbol matlab--transpose-syntax '(3 . nil) ;; 3 = symbol
(matlab--syntax-symbol matlab--transpose-syntax '(1 . nil) ;; 3 = symbol, 1 = punctuation
"Treat ' as non-string when used as transpose.")
(matlab--syntax-symbol matlab--quoted-string-syntax '(9 . nil) ;; 9 = escape in a string