:: Re: [DNG] C exception handling
Kezdőlap
Delete this message
Reply to this message
Szerző: Hendrik Boom
Dátum:  
Címzett: dng
Tárgy: Re: [DNG] C exception handling
On Sat, Nov 02, 2024 at 02:36:57PM +0100, Didier Kryn wrote:
...
>
>     When parsing human input, bogus is normal in some sense, because humans
> always make errors; but the work-flow of the program changes radically: when
> finding a bogus, the normal work, which consists of interpreting the
> semantics and building an internal representation of the input, just stops,
> and the program switches to handling the bogus, that it issue a diagnostic,
> and either stop or continue to analyze another part of the input after some
> clean-up. So that the situation *is* exceptional for the program. In the
> case of a compiler, the bogus case may even be more likely than the no-bogus
> case (~: but the work is completely different.


And does the HTML 1.1 standard specify or encourage particular repairs of the bogus?

-- hendrik