[fpc-pascal] h2pas won't compile
Marc Santhoff
M.Santhoff at t-online.de
Fri Sep 8 01:13:39 CEST 2006
Am Donnerstag, den 07.09.2006, 13:10 +0200 schrieb Florian Klaempfl:
> Marc Santhoff wrote:
> > Hi,
> >
> > trying to fiddle with h2pas it cannot be compiled:
> >
> > $ gmake h2pas
> > gmake -C h2pas all
> > gmake[1]: Entering directory `/usr/home/marc/fpc-2.0.2/share/src/fpc-2.0.2/utils/h2pas'
> > /usr/local/bin/pyacc h2pas.y
> > TP Yacc Version 4.1a [April 2000], Copyright (c) 1990-2000 Albert Graef
> > parse ... sort ... closures ... first sets ...
> > FATAL: integer set overflow
> > gmake[1]: *** [h2pas.pas] Fehler 1
> > gmake[1]: Leaving directory `/usr/home/marc/fpc-2.0.2/share/src/fpc-2.0.2/utils/h2pas'
> > gmake: *** [h2pas] Fehler 2
> >
> > I'm using fpc 2.0.2 release on FreeBSD 4.11.
> >
> > How can this be handled?
>
> Did you change it? If yes, please post the changes. Yacc is something very hairy.
No, not yet. Besides that I commented out one line and tried to
reactivate it later because of the error (which persists) I did not
change anything.
The problem for me is that when converting enum types to a list of
constants (h2pas -e) there is one semicolon too much put at the end of
the list.
So I wanted to try deactivating line 931 of h2pas.y version 1.10 to
check whether it helps or not.
If it's a known bug or fixed already I can wait since I've started
preparing a compiler switch to 2.0.4.
Marc
--
Experience is directly proportional to the cost of the equipment ruined.
More information about the fpc-pascal
mailing list