Re: Minor bug found in 3.1 and previous
- Posted by Robert Craig <rds at Rapid?uphoria.com> Jun 30, 2007
- 600 views
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