close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#1483 closed defect (fixed)

bug when decompiling a file not compiled

Reported by: Pedro Gea Owned by: Jorge
Priority: high Milestone: Mantainance
Component: Interface Version: 3.1
Severity: major Keywords:
Cc:

Description

If you compile a file which contains a syntax error and immediately try to decompile it then the following error appears:

file '/tmp/kk.tol' is not compiled
    while executing
"::tol::decompile $path"
    (procedure "::TolInspector::DecompileFile" line 40)
    invoked from within
"::TolInspector::DecompileFile $data(nameFile)"
    (procedure "::Editor::CmdDecompile" line 5)
    invoked from within
"::Editor::CmdDecompile ::Editor::.editor1  "
    (command bound to event)

kk.tol is just a test file, you can try any file with syntax error on it, for instance:

Rea A

Change History (3)

comment:1 Changed 13 years ago by Jorge

Status: newaccepted

comment:2 Changed 13 years ago by Jorge

Resolution: fixed
Status: acceptedclosed

(In [4379]) fixes #1483

comment:3 Changed 13 years ago by Jorge

(In [4380]) refs #1483, porting [4379] from the trunk

Note: See TracTickets for help on using tickets.