On 31 Jan 2009, at 17:17, Gregory Stark wrote:

Grzegorz Jaskiewicz <g...@pointblue.com.pl> writes:

You're going to kick yourself, but:


        {"table", TABLE, RESERVED_KEYWORD},
+       {"table", TABLES, RESERVED_KEYWORD},

              ^

I don't see any reason offhand why it should have to be a reserved word though. You should be able to make it an UNRESERVED_KEYWORD. Oh, and you'll want to add it to the list of tokens in unreserved_keyword in gram.y as well.

I am really novice with parsers here, so - I felt like I have to do it, in order to make it work. It just wasn't working without that bit in keywords.c.
 I shall try your way, thanks :)


--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to