Ticket #1483 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

bug when decompiling a file not compiled

Reported by: pgea Owned by: josp
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

Changed 6 years ago by josp

  • status changed from new to accepted

Changed 6 years ago by josp

  • status changed from accepted to closed
  • resolution set to fixed

(In [4379]) fixes #1483

Changed 6 years ago by josp

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

Note: See TracTickets for help on using tickets.