roxen.lists.pike.general

Subject Author Date
Importing constants from modules in 7.8.* <aldem-pike <> 20-04-2009
Hi,

	I am trying to upgrade my Pike installation to 7.8 (from 7.6), and
	experience strange behavior - getting error "Undefined identifier".

	I've a module which contains definition:


#! Module.pmod
constant NULL = UNDEFINED;
#

	Later I import it somewhere:

#
import Module;
#....
object	x = NULL;
#

	And I get this error. It did work before in all 7.6 versions, but
	stopped to work now. If I declare a variable instead if constant,
	the definition is imported.

	Where is the problem? Do I do something wrong (they why it worked
	before?) or semantics of "constant" has changed?

	Thanks!

Regards,
/Al