Commit a17c9063 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(cwarn-font-lock-match-assignment-in-expression):

Add shift-assignment operators to those highlighted, and highlight
the whole operator rather than just the "=".  From Broadey Kevin
<Kevin.Broadey@motorola.com>.
parent 8bc24200
2001-12-05 Eli Zaretskii <eliz@is.elta.co.il>
* progmodes/cwarn.el (cwarn-font-lock-match-assignment-in-expression):
Add shift-assignment operators to those highlighted, and highlight
the whole operator rather than just the "=". From Broadey Kevin
<Kevin.Broadey@motorola.com>.
2001-12-04 Juanma Barranquero <lektu@terra.es> 2001-12-04 Juanma Barranquero <lektu@terra.es>
   
* files.el (save-abbrevs, save-some-buffers): Don't ask the user * files.el (save-abbrevs, save-some-buffers): Don't ask the user
......
...@@ -394,7 +394,9 @@ brace." ...@@ -394,7 +394,9 @@ brace."
(let ((res nil)) (let ((res nil))
(while (while
(progn (progn
(setq res (re-search-forward "[^!<>=]\\(=\\)[^=]" limit t)) (setq res (re-search-forward
"[^!<>=]\\(\\([-+*/%&^|]\\|<<\\|>>\\)?=\\)[^=]"
limit t))
(and res (and res
(save-excursion (save-excursion
(goto-char (match-beginning 1)) (goto-char (match-beginning 1))
......
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