Ignore AB-stuff

Tried to get this to work and found some bugs.
Jurjen, can you please verify and checkin?
Perhaps complete the default appbuilder-function-list (_CONTROL-LOAD, _DEFAULT-DISABLE, _DEFAULT-ENABLE etc.) in ignoreab.p

Niek


AttachmentSize
ruleparams.i3.11 KB
ignoreab.p7.96 KB

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
jurjen's picture

re: Ignore AB-stuff

Thanks, I have checked in ignoreab.p.

I have not checked in ruleparams.i, because the proposed revision sets IgnoreAb equal to the setting that is specified in prolint.properties.p.
The original behavior is that each individual rule has its own IgnoreAb setting. If a rule has IgnoreAb=TRUE than prolint.properties.p can override this and set it to False. The reverse is not desired: a rule with IgnoreAb=False should not be switched to True by prolint.properties.p.


OK

OK, if that's the way it was designed.

But what good would rules like nameconv, varusage etc. do on ab-generated stuff?

Shouldn't at least these rules have IgnoreAb = yes? And how would I do that? It looks like it goes into rules.d (tt_rules.ignoreUIB), but where/how?