-
- Downloads
Add support for source location recording, from Helmut Eller on
cmucl-imp: The patch below adds a somewhat general mechanism to the get the "current location". So every macro that wants to record the source location, can insert a call to SOURCE-LOCATION in the generated code and safe the result in a appropriate place. SOURCE-LOCATION is a compiler-macro and returns a quoted struct with the source info. The patch adds the definition for SOURCE-LOCATION some modifications for the defclass, defgeneric and defmethod macros. Classes, generic functions and methods have already a "source" slot and the result of SOURCE-LOCATION is just stored into that slot. (The source slot contains currently only the *loadpath*, which is is not very useful, if the fasl file is in a different directory than the source file.)
Showing
- bootfiles/18e/boot24.lisp 43 additions, 0 deletionsbootfiles/18e/boot24.lisp
- compiler/ir1util.lisp 57 additions, 1 deletioncompiler/ir1util.lisp
- compiler/main.lisp 7 additions, 1 deletioncompiler/main.lisp
- pcl/boot.lisp 11 additions, 15 deletionspcl/boot.lisp
- pcl/defclass.lisp 30 additions, 23 deletionspcl/defclass.lisp
- pcl/defcombin.lisp 8 additions, 9 deletionspcl/defcombin.lisp
- pcl/std-class.lisp 1 addition, 2 deletionspcl/std-class.lisp
Loading
Please register or sign in to comment