skeet70 / pascal-compiler

A project Pascal compiler written in Haskell.
5 stars 1 forks source link

Program returns "Prelude.(!!): index too large" when multiple variable lines are declared #59

Closed iduhetonas closed 11 years ago

iduhetonas commented 11 years ago

Here is the code that was run.

program Program1;
  var A : integer;
    Fred : integer;
    begin
      A := 1;
    end.