MacroTable

Members

Functions

define
void define(const(char)[] name, const(char)[] text)

Define name=text macro. If macro name already exists, replace the text for it.

expand
void expand(ref OutBuffer buf, size_t start, ref size_t pend, const(char)[] arg)

Look for macros in buf and expand them in place. Only look at the text in buf from start to pend.

Meta