<i>where has the syntax error detection gone</i> status still Open with 4 other changes
by
.
D 2006-10-27T06:12:32
J icomment Logged\sIn:\sYES\s\nuser_id=190660\nOriginator:\sYES\n\nI\sunderstand\sa\slittle\sbetter\snow\swhats\sgoing\son.\nCompilation\sis\snot\sbeing\sdeferred\sbut\srather\serrors\sare\nbeing\signored.\n\nThe\smain\schange\sseems\sto\sbe\sin\sTclCompileScript()\swhich\nno\slonger\sprovides\sa\sreturn\scode.\n\nI\slooked\sat\sthe\stwo\ssimple\stest\scases\sin\s8.5a5\sand\sin\sboth\ncases\sit\sis\sTclCompileScript()\sthat\sis\signoring\sthe\scompile\nerrors.\n\n\n(Case\s1):\n\s\s\s\s#\sset\sa\s[badcall\sc\n\nLine\s1006:\n\s\s\s\sif\s(Tcl_ParseCommand(interp,\sp,\sbytesLeft,\s0,\s&parse)\s!=\nTCL_OK)\n\nJust\scompiles\sa\sreturnCmd\swhich\sthe\sinvocation\schain\nignores.\sThis\sis\sa\ssyntax\serror\swhich\sI\sthink\sshould\sbe\nreported.\n\n\n(Case\s2):\n\s\s#\sset\sa\sb\sc\n\nLine\s1183:\s\s\s\n\s\s\scode\s=\s(cmdPtr->compileProc)(interp,\s&parse,\senvPtr);\n\s\s\s...\n\s\s\s/*\sRestore\snumCommands\sand\scodeNext\sto\stheir\s...\s*/\n\nNot\ssure\swhat's\sthe\sgoal\shere.\s\sIf\syou\sjust\swanted\sto\nredefine\s'if'\syou\scan\sdo\sthat\sin\s8.4\sso\slong\sas\s'proc\sif'\sis\ndefined\sbefore\sthis\scode\sis\scompiled.\n\nOh,\sand\sDonal\sI\sthink\syour\scode\sexample\sis\sinvalid.\nDid\syou\smean:\n\n\s\sif\sbar\svar\n\nAlso,\sstatic\scode\scheckers\saren't\sreally\san\soption.\s\sOn\nthe\ssecond\smodule\sI\stried\sthem\son,\sfrink\score\sdumped\sand\nnagelfar\sgenerated\san\serror\sfor\severy\s10th\sline\sof\scode.\n\n
J login pcmacdon
J mimetype text/plain
J username pcmacdon
K 1584674fffffffffffffffffffffffffffffffff
U pcmacdon
Z 489d12f4b4656109eecfe83ad52623ea