Re: Bug in get() and value(): embedded comments
- Posted by CChris <christian.cuvier at agri??lture.gouv.fr> Jul 25, 2007
- 590 views
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