bcc
bcc copied to clipboard
Basic Linting
It would be nice if we had some basic linting functionality... somewhere. Not necessarily in bcc itself.
Here's an example where such a thing might be useful:
SuperStrict
Framework brl.standardio
Local variable:TMyType New TMyType
Type TMyType
End Type
The assignment operator is missing from the statement. This is obviously a coding error, but is valid in both legacy and NG.
Rather than me spending a stupid amount of time looking for a non-existant bug elsewhere, a warning about my potentially stupid code would be preferred.
Perhaps we need a suite of utilities - like libdparse - that can be applied to such tasks...