You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original Redmine Comment
Author Name: Michael McNamara
Original Date: 2011-02-21T02:21:40Z
Hmm, this is way difficult. I like Wilson's idea of using verilog-typedef-regexp as the single way to tell emacs how to indent as well; but the problem is verilog-typedef-regexp is defined to match just a subset of the type, as for example if I use _t as a subscript for my types, as in:
typedef reg[31:0] word_t;
typedef reg[7:0] byte_t;
then I would (setq verilog-typedef-regexp "_t$")
Better for the indent part would be if I did (setq verilog-typedef-regexp "\sw+_t$")
I.E. something that would match the entire "word_t" instead of just the "_t" part
Author Name: Jonathan Greenlaw
Original Redmine Issue: 308 from https://www.veripool.org
Original Date: 2010-12-16
Indenting and highlighting does not recognize user defined types as specified by the verilog-typedef-regexp variable.
The text was updated successfully, but these errors were encountered: