Project

General

Profile

Actions

Bug #114

open

Pack, Spack, and Unpack all return syntax errors.

Added by Brian Flanagan over 4 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Target version:
Start date:
02/04/2020
Due date:
% Done:

0%

Estimated time:
Affected version:

Description

Example: Help_41 from AMOSPro_Examples disk.

Related to bug #18. (Unpack)

Line 104:

Spack 1 To 6

Caused:

First pass...
main.aoz:104:7: error: syntax error
main.aoz:1:1: Compiler error: crash during compilation: pass: 1
cannot read property 'charat' of undefined
typeerror: cannot read property 'charat' of undefined
    at firstpass (c:\snapshot\compiler\compiler.js:0:0)
    at object.module.exports.compile (c:\snapshot\compiler\compiler.js:0:0)
    at compile (c:\snapshot\compiler\aoz.js:0:0)
    at aoz (c:\snapshot\compiler\aoz.js:0:0)
    at object.<anonymous> (c:\snapshot\compiler\aoz.js:0:0)
    at module._compile (pkg/prelude/bootstrap.js:1261:22)
    at object.module._extensions..js (internal/modules/cjs/loader.js:787:10)
    at module.load (internal/modules/cjs/loader.js:651:32)
    at trymoduleload (internal/modules/cjs/loader.js:591:12)
    at function.module._load (internal/modules/cjs/loader.js:583:3)

Internal error
Task failed, no code generated...

After commenting 104, Line 116:

Pack 1 To 7,104,13,250,60

Caused:

First pass...
main.aoz:116:6: error: syntax error

main.aoz:1:1: Compiler error: crash during compilation: pass: 1
cannot read property 'charat' of undefined
typeerror: cannot read property 'charat' of undefined
    at firstpass (c:\snapshot\compiler\compiler.js:0:0)
    at object.module.exports.compile (c:\snapshot\compiler\compiler.js:0:0)
    at compile (c:\snapshot\compiler\aoz.js:0:0)
    at aoz (c:\snapshot\compiler\aoz.js:0:0)
    at object.<anonymous> (c:\snapshot\compiler\aoz.js:0:0)
    at module._compile (pkg/prelude/bootstrap.js:1261:22)
    at object.module._extensions..js (internal/modules/cjs/loader.js:787:10)
    at module.load (internal/modules/cjs/loader.js:651:32)
    at trymoduleload (internal/modules/cjs/loader.js:591:12)
    at function.module._load (internal/modules/cjs/loader.js:583:3)
Internal error
Task failed, no code generated...

etc.

Actions

Also available in: Atom PDF