Spivoxity / obc-3

Oxford Oberon-2 compiler
38 stars 7 forks source link

Compiler crash after error #16

Closed Spivoxity closed 5 years ago

Spivoxity commented 5 years ago

The compiler crashes after reporting an error on this example.

MODULE eInit;

TYPE M = POINTER TO RECORD END;
  T = POINTER TO Tree;

PROCEDURE E;
  VAR a : T; m : M;
BEGIN
  NEW(a, m^.x);
END E;

END eInit.

[reported by Joar Skalse]

Spivoxity commented 5 years ago

Fixed in 3.0.6