Re: A bug in scan.l
| От | Gokulakannan Somasundaram |
|---|---|
| Тема | Re: A bug in scan.l |
| Дата | |
| Msg-id | 9362e74e0909012237w4726a226t30a00ef66b88048d@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: A bug in scan.l (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: A bug in scan.l
|
| Список | pgsql-hackers |
Well, i am at a very beginner level with Flex. I could see how flex works with it even if it is a ambiguity. Since it matchesthe rule with the maximum text and we don't allow a new line character in the rule, it works fine. Even in LL(1),it works fine, but throws warnings. So i just thought of suggesting to remove the ambiguity.<br /> But do we need toallow comments as part of unicode escapes?<br /><br />Thanks,<br />Gokul.<br /><br /><div class="gmail_quote">On Wed, Sep2, 2009 at 8:37 AM, Tom Lane <span dir="ltr"><<a href="mailto:tgl@sss.pgh.pa.us">tgl@sss.pgh.pa.us</a>></span> wrote:<br/><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left:1ex;"><div class="im">Gokulakannan Somasundaram <<a href="mailto:gokul007@gmail.com">gokul007@gmail.com</a>>writes:<br /> > I have replaced whitespace with space. Thishas to be done because<br /> > whitespace allows comments. This would cause conflict between some of the<br /> >alternatives. I found this, while trying to make this rule work with LL(1).<br /><br /></div>Um, if it's ambiguous, whydoesn't flex complain?<br /><br /> regards, tom lane<br /></blockquote></div><br />
В списке pgsql-hackers по дате отправления: