;; Keywords: languages
;; The "Version" is the date followed by the decimal rendition of the Git
;; commit hex.
-;; Version: 2019.11.21.248091482
+;; Version: 2019.12.17.268053413
;; Yoni Rabkin <yoni@rabkins.net> contacted the maintainer of this
;; file on 19/3/2008, and the maintainer agreed that when a bug is
;;
;; This variable will always hold the version number of the mode
-(defconst verilog-mode-version "2019-11-21-ec9935a-vpo-GNU"
+(defconst verilog-mode-version "2019-12-17-ffa2ba5-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.")
"`resetall" "`timescale" "`unconnected_drive" "`undef" "`undefineall"
;; compiler directives not covered by IEEE 1800
"`case" "`default" "`endfor" "`endprotect" "`endswitch" "`endwhile" "`for"
- "`format" "`if" "`let" "`protect" "`switch" "`time_scale"
+ "`format" "`if" "`let" "`protect" "`switch" "`time_scale" "`uselib"
"`while"
))
"List of Verilog compiler directives.")
((looking-at "^\\s *`pragma\\s +protect\\s +begin_protected")
(or (re-search-forward "^\\s *`pragma\\s +protect\\s +end_protected" nil t)
(forward-line)))
+ ((looking-at "^\\s *`protected\\>")
+ (or (re-search-forward "^\\s *`endprotected\\>" nil t)
+ (forward-line)))
((looking-at "(\\*")
;; To advance past either "(*)" or "(* ... *)" don't forward past first *
(forward-char 1)
(setq tpl-regexp (match-string-no-properties 1))
(goto-char (match-end 0)))
(search-forward "(")
+ (while (verilog-within-string) ;; e.g. inside a tpl-regexp spec
+ (search-forward "("))
;; Parse lines in the template
(when (or verilog-auto-inst-template-numbers
verilog-auto-template-warn-unused)
(interactive)
(let ((reporter-prompt-for-summary-p t))
(reporter-submit-bug-report
- "mac@verilog.com, wsnyder@wsnyder.org"
+ "wsnyder@wsnyder.org"
(concat "verilog-mode v" verilog-mode-version)
'(
verilog-active-low-regexp
verilog-warn-fatal
)
nil nil
- (concat "Hi Mac,
+ (concat "Hi,
I want to report a bug.