Overview
| Comment: | * generic/tclCompExpr.c: Call TclCompileSyntaxError() when expression syntax errors are found when compiling expressions. With this in place, convert TclCompileExpr to return void, since there's no longer any need to report TCL_ERROR. * generic/tclCompile.c: Update callers. * generic/tclExecute.c: * generic/tclCompCmds.c: New routine TclCompileSyntaxError() * generic/tclCompile.h: to directly compile bytecodes that report a * generic/tclCompile.c: syntax error, rather than (ab)use a call to TclCompileReturnCmd. Also, undo the most recent commit that papered over some issues with that (ab)use. New routine produces a new opcode INST_SYNTAX, which is a minor variation of INST_RETURN_IMM. Also a bit of constification. |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
2eb1879aacdf4ab9743b9719acd136e3 |
| User & Date: | dgp on 2007-08-27 19:56:50.000 |
| Other Links: | manifest | tags |
Context
|
2007-08-27
| ||
| 23:30 | typo check-in: 717c1de5a4 user: das tags: trunk | |
| 19:56 | * generic/tclCompExpr.c: Call TclCompileSyntaxError() when expression syntax ... check-in: 2eb1879aac user: dgp tags: trunk | |
| 15:12 | * generic/tclCompile.c: Move the deallocation of local LiteralTable * generic/tclCom... check-in: 27a33626be user: dgp tags: trunk | |
Changes
Modified ChangeLog
from [84c4643914]
to [0ac3700a73].
[diff]
Modified generic/tclCompCmds.c
from [98ccc3918a]
to [c48bd3ccb2].
[diff]
Modified generic/tclCompExpr.c
from [0a79aa193c]
to [d1b0f9b42b].
[diff]
Modified generic/tclCompile.c
from [2feb4d7aaf]
to [92fcf6eb24].
[diff]
Modified generic/tclCompile.h
from [20c38bbf81]
to [a4778b805e].
[diff]
Modified generic/tclExecute.c
from [f037c881fb]
to [db0b0aee08].
[diff]