diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2023-10-13 15:12:03 +0200 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2023-10-13 15:23:56 +0200 |
commit | 5a32e5ce48f01180603841194881562ee70fa0db (patch) | |
tree | 3822250f7e516153fe4edcfeb171ea431ba40b59 | |
parent | a52d627b37eb439a748161a82fdcd50d6cbc0248 (diff) |
verilog-mode.el: remove impossible cond clause
* lisp/progmodes/verilog-mode.el (verilog-set-auto-endcomments):
Remove can't-happen clause.
-rw-r--r-- | lisp/progmodes/verilog-mode.el | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lisp/progmodes/verilog-mode.el b/lisp/progmodes/verilog-mode.el index 855ba4b50cf..2eec4bcd21a 100644 --- a/lisp/progmodes/verilog-mode.el +++ b/lisp/progmodes/verilog-mode.el @@ -5374,10 +5374,7 @@ primitive or interface named NAME." (goto-char (match-end 0)) (setq there (point)) (setq err nil) - (setq str (concat " // " cntx (verilog-get-expr)))) - - (;-- otherwise... - (setq str " // auto-endcomment confused ")))) + (setq str (concat " // " cntx (verilog-get-expr)))))) ((and (verilog-in-case-region-p) ;-- handle case item differently |