Browse Source

Improved debugging output:
* added space after "on"
* try harder to indicate in which module a rule is going to execute
* Stop printing the module context of variable settings; it was
confusing especially when the variable turned out to be a local
variable or an argument name.
*

Register the name by which each rule is /invoked/ in its frame instead
of the name by which the rule was defined. This changes the behavior
of the builtin BACKTRACE rule, causing it to register the rule's
invocation names (filenames and line numbers lead the user to the
definition context anyway). This change was neccessary in order to
support classes: we can now extract the name of a class being
initialized by looking at the backtrace from within the class module's
__init__ rule.


[SVN r13585]

Dave Abrahams 24 years ago
parent
commit
a936e23c72
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tools/build

+ 1 - 1
tools/build

@@ -1 +1 @@
-Subproject commit 75bf17682ee8d75e81916070490d085592432420
+Subproject commit ec3cd4d16fb015b40c3dd452e65ae1553649cb23

粤ICP备19079148号