| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* tests/parse.test: numLevel management and TclInterpReady check
seems to be necessary after all.
FossilOrigin-Name: 589a13cd5a27c886a9ee4062646d5657b19d9293
|
|
|
|
|
|
| |
[Bug 2017583]
FossilOrigin-Name: f5e9b29a6627127210a3588d7ff729d1c07113df
|
|
|
| |
FossilOrigin-Name: a646e4c362a574666638b06521668fc53952bd72
|
|
|
|
|
|
|
|
|
| |
* tests/parse.test (parse-15.60): routine has no mechanism to
return the "incomplete" status of "\\\n" so calling this routine
anywhere that can be reached within a Tcl_ParseCommand() call is a
mistake. In particular, ParseComment() must not use it. [Bug 1968882].
FossilOrigin-Name: 0dd3531d099d79fe3ad244d818fcf73362efbb6d
|
|
|
| |
FossilOrigin-Name: d1f7550cd9bf1343d8505fb99fc5141b58bb88bf
|
|
|
| |
FossilOrigin-Name: 60bc4591f92da71a222c04a7273d0c2f2521ba09
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclCompile.c: TCL_TOKEN_EXPAND_WORD tokens representing
* generic/tclCompile.h: expanded literal words. These sections were
mostly in place to enable [info frame] to discover line information
in expanded literals. Since the parser now generates a token for
each post-expansion word referring to the right location in the
original script string, [info frame] gets all the data it needs.
* generic/tclInt.h: Revised the parser so that it never produces
* generic/tclParse.c: TCL_TOKEN_EXPAND_WORD tokens when parsing an
* tests/parse.test: expanded literal word; that is, something like
{*}{x y z}. Instead, generate the series of TCL_TOKEN_SIMPLE_WORD
tokens to represent the words that expansion of the literal string
produces. [RFE 1725186]
FossilOrigin-Name: 1d20b5bc02134890d59de81732af6e5c15975c0b
|
|
|
| |
FossilOrigin-Name: 9b94a40c9b86a834665483a03a7159846b52466a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/fconfigure.n, doc/interp.n, doc/unknown.n:
* library/auto.tcl, library/init.tcl, library/package.tcl:
* library/safe.tcl, library/tm.tcl, library/msgcat/msgcat.tcl:
* tests/all.tcl, tests/basic.test, tests/cmdInfo.test:
* tests/compile.test, tests/encoding.test, tests/execute.test:
* tests/fCmd.test, tests/http.test, tests/init.test:
* tests/interp.test, tests/io.test, tests/ioUtil.test:
* tests/iogt.test, tests/namespace-old.test, tests/namespace.test:
* tests/parse.test, tests/pkg.test, tests/pkgMkIndex.test:
* tests/proc.test, tests/reg.test, tests/trace.test:
* tests/upvar.test, tests/winConsole.test, tests/winFCmd.test:
* tools/tclZIC.tcl:
* generic/tclParse.c (Tcl_ParseCommand): Replace {expand} with {*}
officially (TIP #293). Leave -DALLOW_EXPAND=0|1 option to keep
{expand} syntax for transition users. [Bug 1589629]
FossilOrigin-Name: 5a5306b6b88e7b6d0866a06c4bef4817516db92b
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
global variables ::errorInfo, ::errorCode, ::env and
::tcl_platform: many were relying on the alternative lookup in the
global namespace, that feature is tested specifically in namespace
and variable tests.
The modified testfiles are: apply.test, basic.test, case.test,
cmdIL.test, cmdMZ.test, compExpr-old.test, error.test, eval.test,
event.test, expr.test, fileSystem.test, for.test, http.test,
if.test, incr-old.test, incr.test, interp.test, io.test,
ioCmd.test, load.test, misc.test, namespace.test, parse.test,
parseOld.test, pkg.test, proc-old.test, set.test, switch.test,
tcltest.test, thread.test, var.test, while-old.test, while.test.
FossilOrigin-Name: a8fcd798f4d17d4d3c958b65f206e78267d99627
|
|
|
|
|
|
|
| |
Consistent method of calling test constraints, and (try to) move constraint
setup to the top of the test file
FossilOrigin-Name: 36829d55d6ebcac6be4d3d7d887b06650a5b394a
|
|
|
|
|
|
|
| |
* tests/parse.test: simplify TclEvalObjvInternal and to correct
the auto-loading of alias targets (parse-8.12). [Bug 1444291].
FossilOrigin-Name: 4cbb7ce02d871504b0be8b7aba6e89b903e3d1c7
|
|
|
|
|
|
|
|
|
| |
* tests/namespace.test: evaluations act the same as [uplevel #0]
* tests/parse.test: evaluations, even when execution traces or
* tests/trace.test: invocations of [::unknown] are present.
[Bug 1439836].
FossilOrigin-Name: 4d72c00808704220074d9ec5f85e8107e0db8c83
|
|
|
| |
FossilOrigin-Name: 1cc2336920c70c6b9f7825b88dec87fc223f2c4e
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclParse.c (TclSubstTokens): testing in nested command
* tests/basic.test (basic-46.4): substitutions within direct
* tests/parse.test (parse-19.*): script evaluation (Tcl_EvalEx)
that got lost in the parser reforms of Tcl 8.1. Added tests for
correct behavior. [Bug 1115904]
FossilOrigin-Name: 1f3f0b95783ff008c3c8c4b92d1c7ac7eb28dfbd
|
|
|
|
|
|
|
|
|
| |
* generic/tclInt.h (Interp): USE_EVAL_DIRECT. It was used only
* generic/tcLTest.c (TestevalexObjCmd): in the testing command
* tests/parser.test (parse-9.2): [testevalex] and nothing in the
test suite made use of the capability it enabled.
FossilOrigin-Name: 70d5f804f9889f735e47cf6e943fbc311694a84b
|
|
|
|
|
|
|
| |
space in {expand} parsing. Thanks Andreas Leitgeb. [Bug 848262].
* tests/parse.test: New tests for the bug.
FossilOrigin-Name: 672ceae2aef17192295def7c292bde85f4c97c0d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/Tcl.n: of the new leading {expand} syntax on words.
* generic/tcl.h: Parses such words as the new Tcl_Token type
* generic/tclBasic.c: TCL_TOKEN_EXPAND_WORD. Updated Tcl_EvalEx
* generic/tclCompile.c: and the bytecode compiler/execution engine
* generic/tclCompile.h: to recognize the new token type. New opcodes
* generic/tclExecute.c: INST_LIST_VERIFY and INST_INVOKE_EXP and a new
* generic/tclParse.c: operand type OPERAND_ULIST1 are defined. Docs
* generic/tclTest.c: and tests are included.
* tests/basic.test:
* tests/compile.test:
* tests/parse.test:
* library/auto.tcl: Replaced several [eval]s used to perform
* library/package.tcl: argument expansion with the new syntax.
* library/safe.tcl: In the test files lindex.test and lset.test,
* tests/cmdInfo.test: replaced use of [eval] to force direct
* tests/encoding.test: string evaluation with use of [testevalex]
* tests/execute.test: which more directly and robustly serves the
* tests/fCmd.test: same purpose.
* tests/http.test:
* tests/init.test:
* tests/interp.test:
* tests/io.test:
* tests/ioUtil.test:
* tests/iogt.test:
* tests/lindex.test:
* tests/lset.test:
* tests/namespace-old.test:
* tests/namespace.test:
* tests/pkg.test:
* tests/pkgMkIndex.test:
* tests/proc.test:
* tests/reg.test:
* tests/trace.test:
* tests/upvar.test:
* tests/winConsole.test:
* tests/winFCmd.test:
FossilOrigin-Name: cbfb8313bae848d0c0a2070542fbc2e4fa371ba2
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/basic.test: Bug 489537, Tcl's longstanding failure to
* tests/dict.test: properly quote any leading '#' character
* tests/dstring.test: when generating the string rep of a list
* tests/list.test: so that the comment-power of that character
* tests/parse.test: is hidden from any [eval], in order to
* tests/util.test: satisfy the documentation that [list] does
[eval]-safe quoting.
FossilOrigin-Name: 03d3df98ff7cdfa4ebd84d70cf3d5ecb99bab3c5
|
|
|
| |
FossilOrigin-Name: c2b35b7ba8c7284aa39997e38b1ba0a6cb524674
|
|
|
|
|
|
|
|
| |
to reset iPtr->returnCode, causing tests parse-18.17 and parse-18.21
to fail strangely.
* tests/parse.test (parse-18.21): Corrected now functioning test.
FossilOrigin-Name: 3b44f60bef0d3d886865ffc200e9b2eeeb1bea83
|
|
|
|
|
|
|
| |
implementation of Tcl_SubstObj(). Note that tests parse-18.17 and
parse-18.21 demonstrate some bugs left to fix in the current code.
FossilOrigin-Name: fdede0487d85e0a171d498a39b3ac16814aa698e
|
|
|
| |
FossilOrigin-Name: 195a1e4b1cee20d471ea71d823f99d008eb39c54
|
|
|
| |
FossilOrigin-Name: 13c34f1df965be2a2dcdba3a6efa2406bac99e66
|
|
|
| |
FossilOrigin-Name: ad24f00755b062128bb181b0722403912baec6d5
|
|
|
|
|
|
| |
* tests/parse.test: fix for [Bug 684744], by Don Porter.
FossilOrigin-Name: 0240a75766a28f9b577f0290015e80ab923ae5a6
|
|
|
|
|
|
| |
of Tcl_EvalTokens, replaced by the new Tcl_EvalTokensStandard.
FossilOrigin-Name: 3e892aa048440da5816da89bcdd275c9a1fa41c6
|
|
|
|
|
|
| |
::tcltest" to "namespace import -force ::tcltest" [Bug: 3948].
FossilOrigin-Name: c2f93a113cfcb17a21da67cc20f54ab3f1b9fa3c
|
|
|
|
|
|
|
|
|
|
|
| |
easier to turn on compiler tracing.
* tests/parse.test:
* generic/tclParse.c: Fixed bug in Tcl_EvalEx where the termOffset
was not being updated in cases where the evaluation returned a non
TCL_OK error code. [Bug: 2535]
FossilOrigin-Name: ce8026cea8c676dfd5b6c07892241003d6efe241
|
|
|
| |
FossilOrigin-Name: fdb0602e41e62bf526806c165dbf3f33a718fd37
|
|
|
| |
FossilOrigin-Name: dc45694c11c7ad43dd4c5dca49bfe1d7cedec9bb
|
|
|
| |
FossilOrigin-Name: f3b32fb71c9011ac220779bd9dbe5617c9dc87d9
|
|
|
| |
FossilOrigin-Name: 196f92fd17305db5fec1acd59f6926de11e01624
|
|
FossilOrigin-Name: f86c34e38d2a946e0ed196001fd756c57f90791a
|