pgsql: Although the flex documentation avers that yyalloc and yyrealloc

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Although the flex documentation avers that yyalloc and yyrealloc
Date: 2009-07-13 03:11:12
Message-ID: 20090713031112.58DCD75331E@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Although the flex documentation avers that yyalloc and yyrealloc take
size_t arguments, the emitted scanner actually prototypes them with
type yy_size_t, which is sometimes not the same thing depending on
flex version and platform. Easiest fix seems to be to use yy_size_t.
Per buildfarm results.

Modified Files:
--------------
pgsql/src/backend/parser:
scan.l (r1.155 -> r1.156)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/scan.l?r1=1.155&r2=1.156)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2009-07-13 05:36:53 pgsql: Make the configure messages rejecting old bison and flex versions
Previous Message Tom Lane 2009-07-13 02:02:20 pgsql: Convert the core lexer and parser into fully reentrant code, by