mtext/src/MTextDebug.i3


Copyright (C) 1994, Digital Equipment Corp.

INTERFACE MTextDebug;
These procedures are used only for debugging.

IMPORT MText, MTextPrivate, Wr;

PROCEDURE Dump (m: MText.T);
Gives a structural printout of the state of an mtext.

PROCEDURE Verify (wr: Wr.T; node: MTextPrivate.Node; msg: TEXT);
Verifies that the internal consistency conditions expected of an mtext hold for this particular mtext. In case of failure, prints an error message, along with the identifying message msg, and aborts the program.

END MTextDebug.