alpha-970510: array problem._(re)

Sun, 18 May 1997 19:29:39 +0200 (MET DST)


According to Jan-Jaap van der Heijden:
> 
> It barfs on the "var N2: ^A;" declaration.

The problem is solved.  It was a trivial error.  (-: If all bugs were
like this ... :)

To correct it, just add one line to `gpc-parse.y'.  The diff is below.

Thanks again, Jan-Jaap!

Greetings,

    Peter

  Dipl.-Phys. Peter Gerwinski, Essen, Germany, free physicist and programmer
peter.gerwinski@uni-essen.de - http://home.pages.de/~peter.gerwinski/ [970201]
 maintainer GNU Pascal [970510] - http://home.pages.de/~gnu-pascal/ [970125]

8< ---------------------------------------------------------------------------

--- gpc-parse.y Mon May 12 09:13:03 1997
+++ gpc-parse.y.new     Sun May 18 17:36:34 1997
@@ -2533,6 +2533,7 @@
                  if (! flag_what_pascal || (flag_what_pascal & B_D_PASCAL))
                    lex_const_equal = 1;
                  $$ = lex_caret;
+                 lex_caret = 1;
                }
          ':' optional_qualifier_list type_denoter
          absolute_or_value_specification



Peter Gerwinski (peter@agnes.dida.physik.uni-essen.de)

HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada - Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es