Re: A bug in scan.l

Поиск
Список
Период
Сортировка
От Gokulakannan Somasundaram
Тема Re: A bug in scan.l
Дата
Msg-id 9362e74e0909011910x677020beh90a77f3a36abd1bd@mail.gmail.com
обсуждение исходный текст
Список pgsql-hackers
The previous change should follow with this.<br /><br />uescape           
[uU][eE][sS][cC][aA][pP][eE]{space}*{quote}[^']{quote}<br/><br />Thanks,<br />Gokul.<br /><br /><div
class="gmail_quote">OnWed, Sep 2, 2009 at 7:35 AM, Gokulakannan Somasundaram <span dir="ltr"><<a
href="mailto:gokul007@gmail.com">gokul007@gmail.com</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;">There is a rule like
thisin scan.l<br /><br />uescapefail       
("-"|[uU][eE][sS][cC][aA][pP][eE]{whitespace}*"-"|[uU][eE][sS][cC][aA][pP][eE]{whitespace}*{quote}[^']|[uU][eE][sS][cC][aA][pP][eE]{whitespace}*{quote}|[uU][eE][sS][cC][aA][pP][eE]{whitespace}*|[uU][eE][sS][cC][aA][pP]|[uU][eE][sS][cC][aA]|[uU][eE][sS][cC]|[uU][eE][sS]|[uU][eE]|[uU])<br
/><br/><br />I think this should be corrected to <br /><br /><br />uescapefail       
("-"|[uU][eE][sS][cC][aA][pP][eE]{space}*"-"|[uU][eE][sS][cC][aA][pP][eE]{space}*{quote}[^']|[uU][eE][sS][cC][aA][pP][eE]{space}*{quote}|[uU][eE][sS][cC][aA][pP][eE]{space}*|[uU][eE][sS][cC][aA][pP]|[uU][eE][sS][cC][aA]|[uU][eE][sS][cC]|[uU][eE][sS]|[uU][eE]|[uU])<br
/><br/><br />I have replaced whitespace with space. This has to be done because whitespace allows comments. This would
causeconflict between some of the alternatives. I found this, while trying to make this rule work with LL(1). Just
thought,it might be useful.<br /><br />Thanks,<br />Gokul.<br /></blockquote></div><br /> 

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Linux LSB init script
Следующее
От: Itagaki Takahiro
Дата:
Сообщение: make installcheck is broken in HEAD on mingw