Jump to content
Excelsior Forums
Sign in to follow this  
AlexIljin

Compiler bug: invalid location

Recommended Posts

Module text:

MODULE Test;

(* ------------------------------------------------------------------------

* © 2010 by Alexander Iljin

* ------------------------------------------------------------------------ *)

CONST

  c = LONG (0 + 1); (* This makes the compiler abort with "invalid location".

                     * The value of the constant does not matter, and neither

                     * does its name. Just as soon as there is an expression

                     * inside the LONG: +, -, *. *)

BEGIN

END Test.

Compilation:

>xc Test.ob2

XDS Oberon-2 v2.40 [x86, v1.50] - build 10.05.2005

Compiling "Test.ob2"

* [*** 0.00 F450]

* compilation aborted: invalid location

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×