Re: Bug in get() and value(): embedded comments

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

Andy Serpa wrote:
> 
> CChris wrote:
> >
> > 
> > I'll commit a fix next weekend, or next week. It will correct both get() and
> > value(), and requires only changes in get.e.
> > 
> 
> I don't think that is a bug, and if you "fix" it you'll be introducing a bug
> as far as I'm concerned. 

Assertion has to be proved, and the second part is even more unsubstantiated.

> If you find the documentation confusing, fix the documentation.

Yes, the initial "the" is misleading.

>  value() and get() shouldn't be stripping out comments -- those functions read
> Euphoria objects, not Euphoria statements.

They read strings into objects, and these strings may contain comments, as I 
showed in the code snippet in my original post.

CChris

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

Search



Quick Links

User menu

Not signed in.

Misc Menu