Skip the scope name checks if PL_scopestack_name is NULL.
authorNicholas Clark <nick@ccl4.org>
Wed, 18 Nov 2009 15:47:35 +0000 (15:47 +0000)
committerNicholas Clark <nick@ccl4.org>
Wed, 18 Nov 2009 15:47:35 +0000 (15:47 +0000)
commita09dc31d1f5b871705115bdc1984ce8e4f4c22f5
treef1741bce4ecc9467305c75925e999332b5c9f174
parentf2b88940d815760ad254d35a0ee1eb2ed8ce7762
Skip the scope name checks if PL_scopestack_name is NULL.

It's possible that someone has built a module with -DDEBUGGING, but they're
using it against a perl built non-DEBUGGING, in which case PL_scopestack_name
will be NULL. Better to skip the checks than to SEGV.
scope.h