On 2012-01-16, Tim Landscheidt <t...@tim-landscheidt.de> wrote:
> Tom Lane <t...@sss.pgh.pa.us> wrote:
>
>>> [ "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.
>
> I know, but - off the top of my head - in most other lan-
> guages "0abc" will then give a syntax error.

 In most other languages "0 abc" would also be a syntax error.
 
 0and  doesn't give a syntax error in php
 
 eg: <? echo 0and 0; ?>
 
-- 
⚂⚃ 100% natural


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

Reply via email to