summaryrefslogtreecommitdiff
path: root/lisp/progmodes/verilog-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/verilog-mode.el')
-rw-r--r--lisp/progmodes/verilog-mode.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/verilog-mode.el b/lisp/progmodes/verilog-mode.el
index df3b28615fd..f063fb5a7ca 100644
--- a/lisp/progmodes/verilog-mode.el
+++ b/lisp/progmodes/verilog-mode.el
@@ -10880,10 +10880,10 @@ This repairs those mis-inserted by an AUTOARG."
(setq out (replace-match
(concat (match-string 1 out)
(if (equal (match-string 3 out) ">>")
- (int-to-string (lsh (string-to-number (match-string 2 out))
+ (int-to-string (ash (string-to-number (match-string 2 out))
(* -1 (string-to-number (match-string 4 out))))))
(if (equal (match-string 3 out) "<<")
- (int-to-string (lsh (string-to-number (match-string 2 out))
+ (int-to-string (ash (string-to-number (match-string 2 out))
(string-to-number (match-string 4 out)))))
(if (equal (match-string 3 out) ">>>")
(int-to-string (ash (string-to-number (match-string 2 out))