On 6 February 2014 18:14, Andrew Stitcher <[email protected]> wrote:

> On Thu, 2014-02-06 at 12:57 +0000, Gordon Sim wrote:
> > On 02/06/2014 12:49 PM, Rob Godfrey wrote:
> > > SQL would use double quotes around identifiers that would otherwise
> > > conflict with keywords, etc... (As an added benefit the Java Broker
> already
> > > copes with this syntax :-) )...
> >
> > That would get my vote!
>
> In that case it would get mine too. I must have missed this bit of
> syntax when I copied the java grammar (missed in the sense of not
> noticed).
>
> Andrew
>


This bit:

TOKEN [IGNORE_CASE] :
{
    < ID : ["a"-"z", "_", "$"] (["a"-"z","0"-"9","_", "$"])* >
    | < QUOTED_ID : "\"" ( ("\"\"") | ~["\""] )*  "\""  >
}

I believe :-)

-- Rob


>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to