Project

General

Profile

Bug #305

Compiler not compiling

Added by Truls Osmundsen about 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
03/15/2020
Due date:
% Done:

0%

Estimated time:
Affected version:

Description

Version 0.9.6.4 setup 2 is still not compiling my game (that compiles perfect inside 0.9.6.3).
When removing "Line Input #2,A$" from the code it compiles inside 0.9.6.4.
So, back to 0.9.6.3 it is for me.
Here is the compilers error in 0.9.6.4:

main.aoz:1:1: Compiler error: crash during compilation:
pass: 0
info is not defined
referenceerror: info is not defined
at information.extractnextword (c:\snapshot\compiler\compiler.js:0:0)
at gettag (c:\snapshot\compiler\compiler.js:0:0)
at zeropass (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. (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)

Internal error
Task failed, no code generated...

Terminal will be reused by tasks, press any key to close it.

#1

Updated by Truls Osmundsen about 4 years ago

Can be tested with:

Open In 2,"Test.txt"
Line Input #2,A$
Close 2

This will make the error above.
Commenting out the "Line Input" will make the error go away.

#2

Updated by Francois Lionet almost 4 years ago

  • Status changed from New to Resolved
  • Target version set to 0.9.8

Just checked, it works in 0.9.8.

#3

Updated by Brian Flanagan over 3 years ago

  • Status changed from Resolved to Closed

Re-tested in 0.9.9.4 RC1. Still works!

Also available in: Atom PDF