hpcc-systems / DataPatterns

HPCC Systems ECL bundle that provides some basic data profiling and research tools to an ECL programmer
3 stars 4 forks source link

Avoid symbol name collision with calling code #50

Closed dcamper closed 5 years ago

dcamper commented 5 years ago

If the caller defines a symbol in their code after calling Profile() that is also defined as LOCAL within Profile(), and obtuse error will be presented. This is due to name collision, but it is not immediately obvious.

This problem is not specific to Profile(). All other function macros may need adjustment as well.

dcamper commented 5 years ago

Fix merged into 1.5.x. Will probably wind up in 1.5.1.