Postgres' lexer

From: Leon <leon(at)udmnet(dot)ru>
To: hackers <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Postgres' lexer
Date: 1999-08-19 21:15:21
Message-ID: 37BC73E9.82294039@udmnet.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 1999-08-19 21:56:49 Re: [HACKERS] Tangent ... you know what's scary?
Previous Message Vince Vielhaber 1999-08-19 19:12:04 Re: [HACKERS] Tangent ... you know what's scary?