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: Alex Reed
Original Date: 2015-03-27T15:11:47Z
Thanks for the report. I'm going to assume you're using the latest released version (2015-03-13-7ee11f6-vpo) or possibly even the latest revision posted on github (951f48b).
This regression was partially introduced in d05c01d. This affects subsequent named assertions after "@Property p ... endproperty: p@" (i.e. if you have 2+ named assertions immediately after a labeled endproperty, then the first assertion is indented correctly but the rest are not.). Interestingly, if the first assertion is not labeled, then subsequent assertions (labeled or not) are also indented incorrectly. This appears to have existed for quite some time (possibly always?). If you remove the "@: p@" from the "@endproperty@", things seem to be okay.
Root cause is related to the parser seeing "@endproperty : p@" and thinking it looks like "@:@".
Author Name: Enzo Chi
Original Redmine Issue: 905 from https://www.veripool.org
Original Date: 2015-03-27
Original Assignee: Alex Reed
Got a systemverilog source code with labeled 'assert' in it like this:
After indent buffer, it becomes like this:
The text was updated successfully, but these errors were encountered: