vscode-systemverilog-support icon indicating copy to clipboard operation
vscode-systemverilog-support copied to clipboard

No virtual class support in systemverilog.tmLanguage

Open ktmills opened this issue 7 years ago • 0 comments

Processing of a class declaration only allow spaces prior to the keyword 'class'. This doesn't allow for detection of virtual classes. Consider changing the following regex

^\s*(module|function|primitive|class|package|constraint...

To

^\s*(?:virtual\s+(?=class))? (module|function|primitive|class|package|constraint...

This will make sure you capture groups remain the same.

ktmills avatar Sep 13 '18 23:09 ktmills