Tcl Source Code

View Ticket
Login
Ticket UUID: 3403471
Title: expr parser wrong errorcode
Type: Bug Created on: 2011-09-02 19:59:42
Submitter: dgp Assigned to: dgp
Subsystem: 47. Bytecode Compiler Severity:
Priority: 5 Medium Last modified: 2011-09-08 01:22:18
Status: Closed Closed by: dgp
Resolution: Fixed Closed on: 2011-09-07 18:22:18
Version: obsolete: 8.6b2
Description:
% expr {{foo}bar}
invalid bareword "bar"
in expression "{foo}_@_bar";
should be "$bar" or "{bar}" or "bar(...)" or ...
% set errorCode
TCL PARSE EXPR BADNUMBER

The BADNUMBER should not be there.
No numbers in the bad expression.
User Comments:
dgp added on 2011-09-08 01:22:18:

allow_comments - 1

Bug 3401704 fix included a fix for this.