Tk Library Source Code

View Ticket
Login
Ticket UUID: 1826418
Title: Various syntax errors
Type: Bug Version: None
Submitter: eriklns Created on: 2007-11-05 22:26:08
Subsystem: None Assigned To: andreas_kupries
Priority: 5 Medium Severity:
Status: Open Last Modified: 2008-03-15 04:35:28
Resolution: None Closed By:
    Closed on:
Description:
Attached file tcllib.tar.gz holds the results of a procheck anaysis on all tcllib scripts.

As you will undoubtedly notice, some errors are reported because my version of procheck is outdated. However, some of the errors are indeed syntax errors.

It is easy to compensate for the procheck version mismatch by rerunning the script procheck.tcl with a recent version.

Erik Leunissen

Attached file: tcllib.tar.gz (containing: procheck.tcl, procheck.out, procheck.err)
User Comments: andreas_kupries added on 2008-03-15 04:35:28:
Logged In: YES 
user_id=75003
Originator: NO

spf - bug, fixed
term - bug, fixed
grammar_fa/fa_op - bug, fixed
nns/nns_auto - fixed (a few days ago, without ref to this bug)
transfer/copyops - ditto
math/elliptic - ditto
tiff/tiff - ditto

Lots of messages are new tcl 8.5 syntax and functions the procheck used did not understand.
Keeping open for the moment until I can run the last tclchecker over it.

I like Erik's runner however, as it summarizes in the main output (.out) instead of blowing your mind with thousands of lines of messages.
I am currently reworking the 'sak validate' code to do the same, like I did for 'sak test run' before.

mic42 added on 2007-11-13 05:25:53:
Logged In: YES 
user_id=302287
Originator: NO

Checked the logger stuff, thats just an outdated procheck not knowing the new trace syntax.

As a side node, there is a sak.tcl command in the cvs version of tcllib to run procheck/frink/nagelfar on the tcllib code, so you don't need your own runner.

sak.tcl validate

eriklns added on 2007-11-06 05:26:08:

File Added - 252948: tcllib.tar.gz

Attachments: