You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit renames the ExtUtils::ParseXS class field
xsub_SCOPE_enabled
to
file_SCOPE_enabled
and adds a new field in the ExtUtils::ParseXS::Node::xsub class:
SCOPE_enabled
This is because SCOPE can be used either in file scope:
SCOPE: ENABLE
int
foo(...)
or in XSUB scope,
int
foo(...)
SCOPE: ENABLE
The file_SCOPE_enabled field records whether a SCOPE keyword has been
encountered just before the XSUB, while the Node::xsub SCOPE_enabled
field is initialised to the current value of file_SCOPE_enabled when
XSUB parsing starts, and is updated if the SCOPE keyword is encountered
within the XSUB.
0 commit comments