Re: My not-quite obsolete namespace parser
- Posted by Robert Craig <rds at RapidEuphoria.com> May 14, 2002
- 373 views
Derek Parnell writes: > can I suggest then a minor change to the documentation. Thanks. I'll improve the description for the next release. > On the other hand, you could just change Euphoria to do the obvious, > that is use the entire normalized path-file-name to detect duplicate > include references, just like all other languages do. C and C++ and probably most others don't detect duplicate include references at all. You just get an avalanche of "attempt to redefine ..." messages. C/C++ programmers have to set up elaborate systems of kludgy #ifdef's to avoid redefining stuff. Bjarne Stroustrup has admitted that this is a flaw in the C/C++ include file mechanism. I'm content with the current way of handling duplicate includes. It's been that way for 9 years and I don't recall anyone complaining about it. There aren't many other features with as clean a record. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com