Hi, this seems to be fixed upstream, tested with Version 1.9.8:
$ fpc ./test.pas Free Pascal Compiler version 1.9.8 [2005/02/16] for i386 Copyright (c) 1993-2005 by Florian Klaempfl Target OS: Linux for i386 Compiling ./test.pas test.pas(9,20) Error: Operation "or" not supported for types "Char" and "Char" test.pas(11) Fatal: There were 1 errors compiling module, stopping Regards kisda Frieder Kalisch wrote: > Package: fp-compiler > Version: 1.9.4-5 > Severity: normal > > > The following (syntactically wrong) program generates an internal > compiler error rather than a real error message. This should be fixed. > > Regards > > Frieder Kalisch > > > > program test; > > var > a: string; > > begin > a := ' =53'; > > while a[1] = ' ' or '=' do delete(a,1,1); > end. > > > > $ fpc test.p > Free Pascal Compiler version 1.9.4 [2004/08/12] for i386 > Copyright (c) 1993-2004 by Florian Klaempfl > Target OS: Linux for i386 > Compiling test.p > Panic : Internal compiler error, exiting. > test.p(9,14) Fatal: Internal error 9999 > > > > -- System Information: > Debian Release: 3.1 > APT prefers testing > APT policy: (500, 'testing') > Architecture: i386 (i686) > Kernel: Linux 2.6.8-2-686 > Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1) (ignored: LC_ALL set > to de_DE) > > Versions of packages fp-compiler depends on: > ii fp-units-rtl 1.9.4-5 Free Pascal -- Runtime Library > > -- no debconf information > > >
signature.asc
Description: OpenPGP digital signature