Thread: Lexer again.
Sorry, guys. Here is the ultimate patch which keeps the entire behavior as it was, apart from forbidding minus-terminated operators. Seems that I have to break the habit of doing before thinking properly :-/ The point is that my second patch breaks constructs like a & b or a ! b. This patch is to be applied instead of any of two other today's patches. -- Leon.
> Sorry, guys. Here is the ultimate patch which keeps the entire > behavior as it was, apart from forbidding minus-terminated > operators. Seems that I have to break the habit of doing before > thinking properly :-/ The point is that my second patch breaks > constructs like a & b or a ! b. This patch is to be applied > instead of any of two other today's patches. > Applied. -- Bruce Momjian | http://www.op.net/~candle maillist@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
Bruce Momjian wrote: > > > Sorry, guys. Here is the ultimate patch which keeps the entire > > behavior as it was, apart from forbidding minus-terminated > > operators. Seems that I have to break the habit of doing before > > thinking properly :-/ The point is that my second patch breaks > > constructs like a & b or a ! b. This patch is to be applied > > instead of any of two other today's patches. > > > > Applied. Hey! Later discussion on that matter made us think that minus-terminated operators have to be preserved, especially considering that there is already one such operator here: geometric ?-. I'm terribly sorry, but that patch shouldn't be applied. The other patch applied by you which exterminates uminus exclusive state in parser is considered to be ok. -- Leon. ------- He knows he'll never have to answer for any of his theories actually being put to test. If they were, they would be contaminated by reality.
> Bruce Momjian wrote: > > > > > Sorry, guys. Here is the ultimate patch which keeps the entire > > > behavior as it was, apart from forbidding minus-terminated > > > operators. Seems that I have to break the habit of doing before > > > thinking properly :-/ The point is that my second patch breaks > > > constructs like a & b or a ! b. This patch is to be applied > > > instead of any of two other today's patches. > > > > > > > Applied. > > Hey! Later discussion on that matter made us think that minus-terminated > operators have to be preserved, especially considering > that there is already one such operator here: geometric ?-. > I'm terribly sorry, but that patch shouldn't be applied. > > The other patch applied by you which exterminates uminus exclusive > state in parser is considered to be ok. Reversed out. -- Bruce Momjian | http://www.op.net/~candle maillist@candle.pha.pa.us | (610) 853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania19026