]> granicus.if.org Git - postgresql/commit
Remove outside-the-scanner references to "yyleng".
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 8 Sep 2009 04:25:41 +0000 (04:25 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 8 Sep 2009 04:25:41 +0000 (04:25 +0000)
commit8587a26b1a2ebc51611feee58f7ea587d0c90f05
tree0562d64f7722db0515c148b83bdda30308d1120d
parentd28ae65c706c593a6b7f56653a2e9cc763f63384
Remove outside-the-scanner references to "yyleng".

It seems the flex developers have decided to change yyleng from int to size_t.
This has already happened in the latest release of OS X, and will start
happening elsewhere once the next release of flex appears.  Rather than trying
to divine how it's declared in any particular build, let's just remove the one
existing not-very-necessary external usage.

Back-patch to all supported branches; not so much because users in the field
are likely to care about building old branches with cutting-edge flex, as
to keep OSX-based buildfarm members from having problems with old branches.
src/interfaces/ecpg/preproc/extern.h
src/interfaces/ecpg/preproc/preproc.y