> >
> > So, which '(' is missing its ')'?
> >
>
> again, we do _not choose or point where _exactly.
>
> we only say "missing foo-end on possible foo-begin at
line#". Compiler
> suggest. The programmer will decide.But if the compiler doesn't have some system (and this
is exactly the point I believe matz was asking about) to
narrow down the possibilities somewhat,
we are narrowing it down but definitely we cannot solve it today ![]()
we can start slowly.
it isn't helping the programmer--and may be doing harm, through
misdirection.
I think even a message like a "missing pair" is a lot _better than "syntax
error".
-- Markus
kind regards -botp
···
Markus [mailto:markus@reality.com] wrote: