[plt-scheme] Help understanding line numbers in error.
Hi,
I'm wondering if someone would mind explaining how to read this error
message.
---------------------------------------------------------------------------------------------------------------
> reference to undefined identifier: all-regs
=== context ===
/Users/patrickli_2001/Documents/Scheme/compiler.ss:330:0:
compile-procedure-call
/Users/patrickli_2001/Documents/Scheme/compiler.ss:283:0:
compile-application
/Users/patrickli_2001/Documents/Scheme/compiler.ss:210:0: compile-if
/Users/patrickli_2001/Documents/Scheme/compiler.ss:268:0:
compile-lambda-body
/Users/patrickli_2001/Documents/Scheme/compiler.ss:252:0: compile-lambda
/Users/patrickli_2001/Documents/Scheme/compiler.ss:192:0: compile-definition
/Applications/plt-scheme/collects/scheme/private/misc.ss:74:7
/Applications/plt-scheme/collects/r5rs/run.ss: [running body]
---------------------------------------------------------------------------------------------------------------
Which is caused by loading the attached file.
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.
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.
(I'm running mzscheme from emac's scheme mode)
Thanks for your help
-Patrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20100421/319c460e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compiler.ss
Type: application/octet-stream
Size: 15889 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20100421/319c460e/attachment.obj>