]> granicus.if.org Git - postgresql/commit
In ecpg preprocessor, don't try to look up constants in the test for
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 11 Mar 2011 13:44:40 +0000 (15:44 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 11 Mar 2011 15:27:57 +0000 (17:27 +0200)
commit30e8b3e58ed56cbc07ae7cd392ee4b9782178ca5
treee7e110393b1129a7937badde50d5263f086cd722
parent59bacbe1470b7b3c4382284301267b18daf98e93
In ecpg preprocessor, don't try to look up constants in the test for
variable hiding. A constant is not a variable. It worked in most cases by
accident, because we add constants to the global list of variables (why?),
but float constants like 1.23 were interpreted as struct field references,
and not found.

Backpatch to 9.0, where the test for variable hiding was added.
src/interfaces/ecpg/preproc/type.c