[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master b4831ac 1/2: lisp/progmodes/verilog-mode.el: Fix indentation of e
From: |
Wilson Snyder |
Subject: |
master b4831ac 1/2: lisp/progmodes/verilog-mode.el: Fix indentation of enum. |
Date: |
Mon, 29 Mar 2021 18:09:49 -0400 (EDT) |
branch: master
commit b4831acebdc63b8a588c5d0a18b17d70f112eea9
Author: Wilson Snyder <wsnyder@wsnyder.org>
Commit: Wilson Snyder <wsnyder@wsnyder.org>
lisp/progmodes/verilog-mode.el: Fix indentation of enum.
* lisp/progmodes/verilog-mode.el (verilog-at-close-struct-p): Fix
indentation of enum with multiple objects. Reported by punzik. (#1716).
---
lisp/progmodes/verilog-mode.el | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/lisp/progmodes/verilog-mode.el b/lisp/progmodes/verilog-mode.el
index 55c04e1..a9745e1 100644
--- a/lisp/progmodes/verilog-mode.el
+++ b/lisp/progmodes/verilog-mode.el
@@ -9,7 +9,7 @@
;; Keywords: languages
;; The "Version" is the date followed by the decimal rendition of the Git
;; commit hex.
-;; Version: 2021.02.02.263931197
+;; Version: 2021.03.18.062085829
;; Yoni Rabkin <yoni@rabkins.net> contacted the maintainer of this
;; file on 19/3/2008, and the maintainer agreed that when a bug is
@@ -124,7 +124,7 @@
;;
;; This variable will always hold the version number of the mode
-(defconst verilog-mode-version "2021-02-02-fbb453d-vpo-GNU"
+(defconst verilog-mode-version "2021-03-18-3b35ac5-vpo-GNU"
"Version of this Verilog mode.")
(defconst verilog-mode-release-emacs t
"If non-nil, this version of Verilog mode was released with Emacs itself.")
@@ -1969,7 +1969,11 @@ To call on \\[verilog-auto], set
`verilog-auto-delete-trailing-whitespace'."
(unless (bolp) (insert "\n"))))
(defvar compile-command)
+;; These are known to be from other packages and may not be defined
+(defvar diff-command)
+;; There are known to be from newer versions of Emacs
(defvar create-lockfiles) ; Emacs 24
+(defvar which-func-modes)
;; compilation program
(defun verilog-set-compile-command ()
@@ -6653,7 +6657,7 @@ Return >0 for nested struct."
(verilog-in-struct-p))
;; true
(save-excursion
- (if (looking-at "}\\(?:\\s-*\\w+\\s-*\\)?;") 1))
+ (if (looking-at "}\\(?:\\s-*\\w+\\s-*\\(\\s-*\\,\\s-*\\w+\\)*\\)?;")
1))
;; false
nil))
@@ -8648,11 +8652,6 @@ Optional NUM-PARAM and MAX-PARAM check for a specific
number of parameters."
(defvar sigs-out-i)
(defvar sigs-out-unk)
(defvar sigs-temp)
-;; These are known to be from other packages and may not be defined
-(defvar diff-command)
-;; There are known to be from newer versions of Emacs
-(defvar create-lockfiles)
-(defvar which-func-modes)
(defun verilog-read-decls ()
"Compute signal declaration information for the current module at point.