We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eadc7aa commit 9e10ce0Copy full SHA for 9e10ce0
utils/gyb.py
@@ -699,6 +699,7 @@ def execute(self, context):
699
save_children = context.local_bindings.get('__children__')
700
# Execute the code with our __children__ in scope
701
context.local_bindings['__children__'] = self.children
702
+ context.local_bindings['__file__'] = self.filename
703
result = eval(self.code, context.local_bindings)
704
705
if context.local_bindings['__children__'] is not self.children:
0 commit comments