On 04/10/2013 16:08, Robert Haas wrote:
> Yeah, that doesn't seem good. How about writing the grammar production as
>
> '#' K_PRINT_STRICT_PARAMS option_value
>
> where option_value := T_WORD | unreserved_keyword;
>
> Then you don't need to make ON and OFF keywords; you can just use
> strcmp() against the option_value and either throw an error, or set
> the flag appropriately.
Something like the attached?
Regards,
Marko Tiikkaja