Subject | Re: [ib-support] Re: -- Comment |
---|---|
Author | Doug Chamberlin |
Post date | 2001-11-15T16:52:30Z |
At 11/15/2001 11:46 AM (Thursday), Woody wrote:
really sucks. Always has. it can handle the proper syntax OK but handles
variations in really awful ways. Sometimes ignores stuff it should not,
sometimes spouts non-useful error messages.
I would consider this a bug, pure and simple. The semantics of -- should be
that everything until the line ending is then ignored. Anything else is
just not what people expect.
BTW, I have not read any release notes at all. I just heard about this
abomination on [ibsupport].
>From: "Helen Borrie" <helebor@...>I think it was done this way because the SQL parser/lexer/interpreter
> > OK, that's just because you didn't remove the end-of-line marker (;). You
>need to > do that, otherwise FB will find it there - a line-ending without a
>statement. :) Look > at the release notes for more details.
>
>Helen,
>
>I know I use IB instead of FB, so maybe my comment is out of place here.
>But, why on earth would a statement that is commented out be looked at by
>the parser at all? It doesn't seem very useful to me to have a beginning
>comment designation that you still need to remove the ending terminator
>character from the line. Is there a particular reason this was done or is it
>an oversight that will be corrected in the next release?
really sucks. Always has. it can handle the proper syntax OK but handles
variations in really awful ways. Sometimes ignores stuff it should not,
sometimes spouts non-useful error messages.
I would consider this a bug, pure and simple. The semantics of -- should be
that everything until the line ending is then ignored. Anything else is
just not what people expect.
BTW, I have not read any release notes at all. I just heard about this
abomination on [ibsupport].