In ecpg preprocessor, don't try to look up constants in the test for

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 2f418e8a174136507fb1f80214415b144e24850c
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2011-03-11T15:23:31Z
Releases: 9.0.4
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.

Files

PathChange+/−
src/interfaces/ecpg/preproc/type.c modified +1 −1