veripool / verilog-mode

Verilog-Mode for Emacs with Indentation, Hightlighting and AUTOs. Master repository for pushing to GNU, verilog.com and veripool.org.
http://veripool.org/verilog-mode
GNU General Public License v3.0
253 stars 90 forks source link

Any Debug Messages to localize and aid faster debug of Unbalanced parentheses inside verilog AUTOs #1674

Closed engrvns closed 4 years ago

engrvns commented 4 years ago

In large pieces of code, which uses verilog autos extensively with pattern matching a single missed character is debuggable but painful the traditional way by commenting/uncommenting sections of code.

The only message you get is - Updating AUTOs... forward-sexp: Scan error: "Unbalanced parentheses", 5563, 24765**

What do the numbers above mean. It does not match the line number of the verilog. Is there a verilog-mode switch or option that can localize the culprit AUTO.

Thanks, Engr

wsnyder commented 4 years ago

Its the starting and ending character number. Go to the top of the buffer then Ctrl-U 5563 Ctrl-F.

Unfortunately this is coming from some functions built into the C code of Emacs itself so there's not much I can easily do to improve it.

Closing as think answered your question, but feel free to reply.