summaryrefslogtreecommitdiffstats
path: root/tests/parse.test
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclParse.c (TclParseBackslash): Correct trunction checks indgp2011-03-061-0/+38
|\ | | | | * tests/parse.test: \x and \u substitutions. [Bug 3200987]
| * * generic/tclParse.c (TclParseBackslash): Correct trunction checks indgp2011-03-061-0/+38
| | | | | | * tests/parse.test: \x and \u substitutions. [Bug 3200987]
* | Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-2/+0
|\ \ | |/ | | more harm than good. Purged them.
| * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| | | | | | more harm than good. Purged them.
| * * README: Bump version number to 8.4.13 and updatedgp2006-03-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | * changes: changes to start prep for an 8.4.13 release. * generic/tcl.h: * tools/tcl.wse.in: * unix/configure{.in}: * unix/tcl.spec: * win/README.binary: * win/configure{.in}: * tests/parse.test: Missing constraint
| * * generic/tclBasic.c: Revised handling of TCL_EVAL_* flags todgp2006-03-061-2/+22
| | | | | | | | | | * tests/parse.test: simplify TclEvalObjvInternal and to correct the auto-loading of alias targets (parse-8.12). [Bug 1444291].
| * * generic/tclBasic.c: Corrections to be sure that TCL_EVAL_GLOBALdgp2006-02-281-10/+45
| | | | | | | | | | | | * tests/parse.test: evaluations act the same as [uplevel #0] * tests/trace.test: evaluations, even when execution traces or invocations of [::unknown] are present. [Bug 1439836].
| * * generic/tclBasic.c (Tcl_EvalEx,TclEvalTokensStandard):dgp2005-03-181-1/+47
| | | | | | | | | | | | | | | | | | * generic/tclCmdMZ.c (Tcl_SubstObj): * tests/basic.test (basic-46.4): Restored recursion limit * tests/parse.test (parse-19.*): testing in nested command substitutions within direct script evaluation (Tcl_EvalEx) that got lost in the parser reforms of Tcl 8.1. Added tests for correct behavior. [Bug 1115904]
| * More elimination of dup test numbers [Bugs 710365, 710369]dkf2003-03-271-2/+2
| |
* | * generic/tclParse.c (ParseComment): The new TclParseAllWhiteSpace()dgp2008-05-211-1/+5
| | | | | | | | | | | | | | * 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].
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | Add missing constraintsdgp2007-06-041-3/+3
| |
* | * generic/tclBasic.c: Removed code that dealt withdgp2007-05-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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]
* | * tests/parse.test: Add two backslash newline parse tests.mdejong2007-03-151-1/+7
| |
* | * doc/ParseCmd.3, doc/Tcl.n, doc/eval.n, doc/exec.n:hobbs2006-11-031-38/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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]
* | * tests/*.test: updated all tests to refer explicitly to thetip_278_20061009Miguel Sofer2006-10-091-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Use test constraints properly instead of looking in tcl_platformdkf2006-03-211-13/+10
| | | | | | | | | | Consistent method of calling test constraints, and (try to) move constraint setup to the top of the test file
* | * generic/tclBasic.c: Revised handling of TCL_EVAL_* flags todgp2006-03-061-2/+23
| | | | | | | | | | * tests/parse.test: simplify TclEvalObjvInternal and to correct the auto-loading of alias targets (parse-8.12). [Bug 1444291].
* | * generic/tclBasic.c: Corrections to be sure that TCL_EVAL_GLOBALdgp2006-02-281-1/+35
| | | | | | | | | | | | | | * 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].
* | Merged kennykb-numerics-branch back to the head; TIPs 132 and 232Kevin B Kenny2005-05-101-1/+1
| |
* | * generic/tclBasic.c (Tcl_EvalEx): Restored recursion limitdgp2005-03-181-1/+47
| | | | | | | | | | | | | | | | * 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]
* | * generic/tclBasic.c (Tcl_EvalObjEx): Removed the flag bit valuedgp2004-10-011-3/+3
| | | | | | | | | | | | | | * 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.
* | * generic/tclParse.c: Corrected faulty check for trailing whitedgp2003-11-241-1/+12
| | | | | | | | | | space in {expand} parsing. Thanks Andreas Leitgeb. [Bug 848262]. * tests/parse.test: New tests for the bug.
* | * doc/ParseCmd.3: Implementation of TIP 157. Adds recognitiondgp2003-11-141-170/+251
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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:
* | * tests/async.test: Added several tests that demonstrate Tcldgp2003-07-241-3/+3
| | | | | | | | | | | | | | | | | | | | * 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.
* | Added further coverage tests.dgp2003-04-011-1/+41
| |
* | * generic/tclExecute.c (INST_RETURN): Bytecompiled [return] faileddgp2003-04-011-2/+4
| | | | | | | | | | | | 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.
* | * tests/parse.test (parse-18.*): Coverage tests for the newdgp2003-03-311-1/+68
| | | | | | | | | | implementation of Tcl_SubstObj(). Note that tests parse-18.17 and parse-18.21 demonstrate some bugs left to fix in the current code.
* | More elimination of dup test numbers [Bugs 710365, 710369]dkf2003-03-271-2/+2
|/
* Don Porter's fix for bad parsing of nested scripts [Bug 681841].Miguel Sofer2003-02-161-1/+5
|
* remove excess EOF whitespacehobbs2003-02-111-14/+1
|
* * generic/tclParse.cMiguel Sofer2003-02-111-1/+5
| | | | * tests/parse.test: fix for [Bug 684744], by Don Porter.
* Patch for [TIP 56], [Bug: 219384] and [Bug: 455151]: deprecate the useMiguel Sofer2001-09-131-1/+5
| | | | of Tcl_EvalTokens, replaced by the new Tcl_EvalTokensStandard.
* * tests/*.test: Changed all occurances of "namespace importericm2000-04-101-2/+2
| | | | ::tcltest" to "namespace import -force ::tcltest" [Bug: 3948].
* * win/Makefile.in: Added COMPILE_DEBUG_FLAGS macro to make itstanton1999-08-121-10/+13
| | | | | | | | | 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]
* Modified the tests to use the package tcltestjenn1999-06-261-2/+3
|
* * Merged changes from 8.1.0 branchstanton1999-04-301-1/+5
|
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-535/+722
|
* Replaced SCCS strings, fixed binary filescore_8_0_3stanton1998-09-141-1/+1
|
* Initial revisionrjohnson1998-03-261-0/+556