Re: buggy 4.0 program

new topic     » goto parent     » topic index » view thread      » older message » newer message
mattlewis said...
kinz said...

My question, why the error handling system can not separate the non-declared things and other things of the "referencing error" series?

Please define the difference between the two from the parser's perspective. The answer is that there isn't any. It can't know what you were thinking about, to know that you "meant to" declare something, or whether you just typed something incorrectly.

Non-declared exactly:
- the EOF is reached and
- there is no the declaration of the symbol in the whole program.
(The current parser's perspective is zero, so to say. It has nothing to do any more.)

Other things of the "referencing error" series - you do know them better than anyone here.

Regards,
Igor Kachan
kinz@peterlink.ru

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu