C2CSourcePositions.mesa
Copyright Ó 1990, 1991 by Xerox Corporation. All rights reserved.
Christian Jacobi, October 5, 1990 11:29:25 am PDT
Christian Jacobi, October 5, 1990 11:29:31 am PDT
Exporting just the current source position.
Separate module to ease debugging of C2C.
DIRECTORY
IntCodeDefs, Rope;
C2CSourcePositions: CEDAR DEFINITIONS =
BEGIN
currentSourceNode: IntCodeDefs.SourceNode;
Valid while code generation phase
Maybe ignored while address-mode prediction phase
CurrentPosAsRope: PROC [] RETURNS [Rope.ROPE];
Useful for error messages and debugging
END.