The global cur_repl_text, the procedure scan_repl which sets it, and the procedure define_macro. This scan_repl is called from “Scan the Pascal part of the current module” (175), which is part of procedure scan_module (172).
cur_repl_text
scan_repl
define_macro
scan_module