[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [ns] Urgent help!!!




>
>Yes. I checked some of those braces before in emacs and they did not match
>indeed. But it's because that some of the comments messed up emacs'
>matching algorithm. If there is a mismatch when ns is loaded the tcl
>interpreter will fail on the wrong syntax and you'll get that infamous
>otcl script dump. 

it doesn't "source" either :

INRS[mew]/ns-Tarik >./ns
% source tcl/lib/ns-mobilenode.tcl
missing close-brace

longer version:

INRS[mew]/ns-Tarik/Temp >../ns foo.tcl 
missing close-brace
    while compiling
"Node/MobileNode instproc add-target {agent port } { ..."
    (file "../tcl/lib/ns-mobilenode.tcl" line 221)
    invoked from within
"source.orig ../tcl/lib/ns-mobilenode.tcl"
    ("uplevel" body line 1)
    invoked from within
"uplevel source.orig $fileName"
    (procedure "source" line 12)
    invoked from within
"source ../tcl/lib/ns-mobilenode.tcl"
    (file "foo.tcl" line 1)

(foo.tcl == "source ../tcl/lib/ns-mobilenode.tcl")

on my "2.1b7-snapshot-20000807". This is funky. 


Tarik