Source_Location (GNAT Reference Manual) (original) (raw)

Previous: Shifts and Rotates, Up: Intrinsic Subprograms [Contents][Index]


8.12 Source_Location

This intrinsic subprogram is used in the implementation of the library routine GNAT.Source_Info. The only useful use of the intrinsic import in this case is the one in this unit, so an application program should simply call the functionGNAT.Source_Info.Source_Location to obtain the current source file location.