Re: Minor bug found in 3.1 and previous

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

Robert Craig wrote:
> ... Until the parser digests the next token after " = 1",
> it can't be sure that the declaration is finished,
> and can't record that x is a constant with value 1
> in the symbol table.

Actually, now that I've looked at the parser source code,
I see that the real issue is that the parser doesn't allow
the constant symbol to be visible in the symbol table, until
it can be sure that the defining expression has been fully parsed. 
This ensures that you don't use the constant symbol to define itself.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu