Re: Token separation - Mailing list pgsql-sql

From Tom Lane
Subject Re: Token separation
Date
Msg-id 17710.1326647758@sss.pgh.pa.us
Whole thread Raw
In response to Token separation  (Tim Landscheidt <tim@tim-landscheidt.de>)
List pgsql-sql
Tim Landscheidt <tim@tim-landscheidt.de> writes:
> [ "0x13" is lexed as "0" then "x13" ]

> Is this behaviour really conforming to the standard?

Well, it's pretty much the universal behavior of flex-based lexers,
anyway.  A token ends when the next character can no longer sensibly
be added to it.

Possibly the documentation should be tweaked to mention the
number-followed-by-identifier case.
        regards, tom lane


pgsql-sql by date:

Previous
From: Tim Landscheidt
Date:
Subject: Token separation
Next
From: IlGenna
Date:
Subject: Call function with dynamic schema name