Prolint


ABL User Defined DataTypes

When running the joanju_testrun we get the following error with regards to user defined data types:

BLUtilities.cls:36:3: unexpected token: GET

Code Example:

DEFINE PUBLIC PROPERTY EnumOrderStatus AS common.EnumOrderStatus
GET:
RETURN objEnumOrderStatus.
END GET.

Is this supported?

Thanks in advance.


Prolint during migration/refactoring

At our company we have a lot of sources and a certain release/update-procedure.
We are starting to use Prolint to check the sources that are checked-into the versioning system.
But it wasn't desirable to check all sources against the same profile.
For instance when someone checked out an existing source (created for a certain release), during check-in the modified source would only be checked against 5 rules, while when someone created an entirely new source it would have to comply to 20 rules.


Resizable logwin8.w

Subject says it all I think.
You can resize the window, which will resize the browse accordingly and you can resize the columns better because of fitt-last-column.

Niek


No RETURN in function

Is there a rule to determine when you have a function with no RETURN statement?


Configurable uninproc

I run into the problem that rule uninproc tagged a lot of procedures in "library"-super-procedures.
It turned out the super-procedure had some "public" procedures and they where calling "private" procedures.
But since uninproc can not detect the usage of the "public" procedures it tagged them as not used an that caused the "private" to be also tagged as not used.
I thought this was kind of overkill so I created a configurable property TagDeadParents for rule uninproc which will do (as described in the properties.p):


Any issues with Prolint and Windows 2000?

We run XP on 99% of our boxes with no issues. But we have one Win2k box that gets the following error when we try to lint a file:

"END CASE has no corresponding CASE statement." (5387)
c:\p4gl\tools\prolint\core\lintsuper.p could not understand line 153.

The code looks like it's correct.


New contributed rule fortranoper

A rule which checks for Fortran-style operators.
Downloadable from the svn repository contrib/rules.

http://websvn.oehive.org/listing.php?repname=prolint&path=%2Ftrunk%2Fcon...


UltraEdit as external editor

The default installation folder for UltraEdit has changed (some while now).
Can exteditor.cfg please also include this?
"C:\Program Files\IDM Computer Solutions\UltraEdit-32\uedit32.exe"


Forward function declaration <> function declaration

I notice that when the forward declaration of a function states the parameters but the function itself doesn't this gives an error in tablename rule. "field cha_SoortTabel must be qualified with tablename"
Is there a rule which checks this ugly construction and is there a fix for the tablename rule?


No OUTPUT/INPUT CLOSE

If I have:

OUTPUT TO "/v/my-file.dat".

I would like to know I don't have an OUTPUT CLOSE statement. Did I miss this rule?


Syndicate content