segmentation fault

willett willett at UDel.Edu
Wed Dec 22 05:32:59 CET 2004


Russ,  Frank, Adrian, Waldek, Chuck F.,

Thanks for the info.  I should have seen this.  My main problem
was the "segmentation fault" which I now see was due
to using an uninitialized array index.  I misread the source
error completely.   Sorry for the distraction.  (But perhaps
it led to some useful discussion...)

Willett Kempton


On 21 Dec 2004, at 02:32, Russell Whitaker wrote:

>
>
> On Mon, 20 Dec 2004, willett wrote:
>
>> program file attached is a program missing a "}" which should get
>> compilation
>> error, but which compiles without errors and when run, gets a
>> "Segmentation fault"
>> and quits.
>>
> compiler saw { { }, he wanted { } { }
>
> found that problem the other day, but since it is not a bug,
> sat down and wrote a non-distructive tool that might be useful:
> it checks for matching (* *), { }, [ ], ( ), " ", and ' '
>
> program attached. let me know what you think of it.
>
>   Russ<match.pas>




More information about the Gpc mailing list