Skip to content
Tcl Source Code Artifact [c134581a61]
Login

Artifact [c134581a61]

Artifact c134581a61e56345063f7d3b742605b37f483664:

Ticket change [c134581a61] - New ticket [218868ffffffffff|218868ffff] <i>Improvement of error messages for Tcl frequently made mistak</i>. by nobody on 2000-10-26 01:06:57.
D 2000-10-26T01:06:57
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s2467\sRFE\nVersion:\s8.2\nSubmitDate:\s'1999-07-28'\nLastModified:\s'1999-12-03'\nSeverity:\sLOW\nStatus:\sReleased\nSubmitter:\stechsupp\nChangedBy:\shobbs\nOS:\sAll\nMachine:\sNA\nFixedDate:\s'1999-12-03'\nFixedInVersion:\s8.3b1\nClosedDate:\s'2000-10-25'\n\n\nName:\nFrederic\sBONNET\n\nComments:\nCameron\sLaird\smaintains\sa\spage\swith\sfrequently\smade\smistakes\sin\sTcl\sat:\n\s\s\s\s\n\s\s\s\shttp://Starbase.NeoSoft.COM/~claird/comp.lang.tcl/fmm.html\n\s\s\s\s\n\s\s\s\sThis\spatch\sis\srelated\sto\sthe\sfollowing\sFMMs:\n\s\s\s\s\n\s\s\s\shttp://Starbase.NeoSoft.COM/~claird/comp.lang.tcl/fmm.html#zero\n\s\s\s\shttp://Starbase.NeoSoft.COM/~claird/comp.lang.tcl/fmm.html#comments\n\nDesiredBehavior:\nThe\sfollowing\spatches\sadd\smore\sexplicit\sinformation\swhen\sthe\stwo\smost\n\s\s\s\sfrequently\smade\smistakes\sin\sTcl\sare\sencountered:\scomments\sin\sswitch\sand\n\s\s\s\sbad\soctal\svalues.\n\s\s\s\s\n\s\s\s\sWhen\sTcl\sencounters\san\serror\sduring\sa\sswitch\sstatement,\sit\schecks\sfor\n\s\s\s\spatterns\sbeginning\swith\s#.\sThis\sproves\sto\sbe\san\sefficient\sheuristic\sto\n\s\s\s\sdetect\sincorrectly\splaced\scomments\sin\sswitch\sstatements.\sIt\sthen\sappend\n\s\s\s\sthe\sfollowing\sstring\sto\sthe\serror\smessage:\s\n\s\s\s\s\n\s\s\s\s"this\scan\sbe\sdue\sto\sa\scomment\sincorrectly\splaced\soutside\sa\sswitch\sbody\s-\n\s\s\s\ssee\sthe\sTcl\sand\sswitch\sman\spages"\n\s\s\s\s\n\s\s\s\sEverywhere\sTcl\sexpects\san\sinteger\sand\sdetects\san\serror,\sit\swill\salso\n\s\s\s\scheck\sif\sthe\sstring\suses\san\sinvalid\soctal\srepresentation\s(ie\san\sinteger\n\s\s\s\swith\sa\sleading\szero)\sand\sappend\sthe\sfollowing\smessage:\n\s\s\s\s\n\s\s\s\s"<integer>\suses\san\sincorrect\soctal\srepresentation\s-\ssee\sthe\sexpr\sman\n\s\s\s\spage"\n\nPatch:\nhttp://www.multimania.com/fbonnet/pub/fmm8.0.5.patch\s(for\sTcl8.0.5)\nhttp://www.multimania.com/fbonnet/pub/fmm8.1.1.patch\s(for\sTcl8.1.1)\n\nPatchFiles:\ngeneric/tclCmdMZ.c\n\s\s\s\sgeneric/tclGet.c\n\s\s\s\sgeneric/tclObj.c\n\s\s\s\sgeneric/tclExecute.c\n\s\s\s\sgeneric/tclUtil.c\n\s\s\s\sgeneric/tclInt.h\n\n\n\n8.3\shas\simproved\serror\smessages.\s\n--\s12/03/1999\shobbs
J foundin obsolete:\s8.2
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title Improvement\sof\serror\smessages\sfor\sTcl\sfrequently\smade\smistak
J type RFE
K 218868ffffffffffffffffffffffffffffffffff
U nobody
Z 60cda9f79e05733fae3a610c1eae0c78