Postgres' lexer - Mailing list pgsql-hackers

From Leon
Subject Postgres' lexer
Date
Msg-id 37BC73E9.82294039@udmnet.ru
Whole thread Raw
List pgsql-hackers
Hi!

I'm currently fooling around with Postgres's parser, and I must admit
some things puzzle me completely. Please tell me what these things in
lexer stand for:

{operator}/-[\.0-9]    {                yylval.str = pstrdup((char*)yytext);                return Op;            }
Is it an operator followed by mandatory '-' and (dot or digit) ?

And what this stands for:

{identifier}/{space}*-{number}

What's the meaning of all these?

-- 
Leon.
---------
"This may seem a bit weird, but that's okay, because it is weird." -
Perl manpage.



pgsql-hackers by date:

Previous
From: Vince Vielhaber
Date:
Subject: Re: [HACKERS] Tangent ... you know what's scary?
Next
From: "Hub.Org News Admin"
Date:
Subject: ...