Yep, this is the standard behaviour of Tcl 8.0 and earlier.

cxh@maury 4% cat /tmp/t.tcl
proc foo {a b}{
   return
}
cxh@maury 5% tclsh
% set tcl_version
8.0
% source /tmp/t.tcl
extra characters after close-brace
% 

-Christopher
--------

    This is a multi-part message in MIME format.
    --------------94B39AECB94858E35F6E4A86
    Content-Type: text/plain; charset=us-ascii
    Content-Transfer-Encoding: 7bit
    
    The following does not parse in 1.1a1
    
    proc foo {a b}{
       return
    }
    
    "extra character after curly brace" (or some such message).
    
    It was due to there being no space between the "}{".  Is this a Tcl
    limitation?
    
    
    --------------94B39AECB94858E35F6E4A86
    Content-Type: text/x-vcard; charset=us-ascii;
     name="mckay.vcf"
    Content-Description: Card for Thomas McKay
    Content-Disposition: attachment;
     filename="mckay.vcf"
    Content-Transfer-Encoding: 7bit
    
    begin:vcard 
    n:McKay;Thomas
    tel;work:919-854-7500 x103
    x-mozilla-html:TRUE
    org:Microcosm Technologies, Inc.
    adr:;;;;;;
    version:2.1
    email;internet:[EMAIL PROTECTED]
    title:Project Leader
    fn:Thomas McKay
    end:vcard
    
    --------------94B39AECB94858E35F6E4A86--
    
    ----------------------------------------------------------------
    The TclJava mailing list is sponsored by WebNet Technologies.
    To subscribe:    send mail to [EMAIL PROTECTED]  
                     with the word SUBSCRIBE as the subject.
    To unsubscribe:  send mail to [EMAIL PROTECTED] 
                     with the word UNSUBSCRIBE as the subject.
    To send to the list, send email to '[EMAIL PROTECTED]'. 
    A list archive is at: http://www.findmail.com/listsaver/tcldallas/
--------

----------------------------------------------------------------
The TclJava mailing list is sponsored by WebNet Technologies.
To subscribe:    send mail to [EMAIL PROTECTED]  
                 with the word SUBSCRIBE as the subject.
To unsubscribe:  send mail to [EMAIL PROTECTED] 
                 with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'. 
A list archive is at: http://www.findmail.com/listsaver/tcldallas/

Reply via email to