Re: My not-quite obsolete namespace parser

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

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.  smile

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