Hi,<div>I'm wondering if someone would mind explaining how to read this error message. </div><div><br></div><div>---------------------------------------------------------------------------------------------------------------</div>
<div><div>> reference to undefined identifier: all-regs</div><div><br></div><div> === context ===</div><div>/Users/patrickli_2001/Documents/Scheme/compiler.ss:330:0: compile-procedure-call</div><div>/Users/patrickli_2001/Documents/Scheme/compiler.ss:283:0: compile-application</div>
<div>/Users/patrickli_2001/Documents/Scheme/compiler.ss:210:0: compile-if</div><div>/Users/patrickli_2001/Documents/Scheme/compiler.ss:268:0: compile-lambda-body</div><div>/Users/patrickli_2001/Documents/Scheme/compiler.ss:252:0: compile-lambda</div>
<div>/Users/patrickli_2001/Documents/Scheme/compiler.ss:192:0: compile-definition</div><div>/Applications/plt-scheme/collects/scheme/private/misc.ss:74:7</div><div>/Applications/plt-scheme/collects/r5rs/run.ss: [running body]</div>
<div>---------------------------------------------------------------------------------------------------------------</div><div><br></div><div>Which is caused by loading the attached file.</div><div><br></div><div>The cause of the error itself is very clear. all-regs has not been defined anywhere. But I don't understand what the "context" means. </div>
<div><br></div><div>The only place all-regs is used, is in the function compile-proc-appl which stars at line 356. But this isn't mentioned anywhere in the context information.</div><div><br></div><div>(I'm running mzscheme from emac's scheme mode)</div>
<div><br></div><div>Thanks for your help</div><div> -Patrick</div></div>