-;; Time-stamp: <2015-04-30 11:50:03 kmodi>
+;; Time-stamp: <2015-05-04 17:13:24 kmodi>
 
 ;;; Verilog
 

              ;; (message "---- 1 ---- %s" (match-string 1))
              ;; (message "---- 2 ---- %s" (match-string 2))
              ;; (message "---- 3 ---- %s" (match-string 3))
              ;; (message "---- 4 ---- %s" (match-string 4))
              ;; (message "---- 5 ---- %s" (match-string 5))
              (setq-local modi/verilog-which-func-xtra (match-string 1)) ; module name
              (setq instance-name (match-string 2)) ; instance name


              "\\(#([^;]+?)\\(\\s-*//.*?\\)*[^;\\./]+?\\)*"
              "\\(?2:" modi/verilog-identifier-re "\\)" ; instance name
                                        ; force group number to 2
              "[^;a-zA-Z0-9_]*?(" ; optional space/newline after instance name
                                        ; and before opening parenthesis `('
              )
      "Regexp for a valid verilog module instance declaration.")
