[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-kawa] [bug #37051] define-syntax does not work when included
From: |
anonymous |
Subject: |
[Bug-kawa] [bug #37051] define-syntax does not work when included |
Date: |
Fri, 17 Aug 2012 00:12:43 +0000 |
User-agent: |
w3m/0.5.3 |
Follow-up Comment #2, bug #37051 (project kawa):
I have made a simpler script to show this bug. Attached foo.scm shows this
result:
$ java -cp kawa-1.12.jar kawa.repl --script foo.scm
foo.scm:16:1: warning - no declaration seen for baz
foo.scm:16:1: unbound location baz
at gnu.mapping.Location.get(Location.java:67)
at atInteractiveLevel$1.run(foo.scm:16)
at gnu.expr.ModuleExp.evalModule2(ModuleExp.java:299)
at gnu.expr.ModuleExp.evalModule(ModuleExp.java:200)
at kawa.Shell.run(Shell.java:279)
at kawa.Shell.runFile(Shell.java:492)
at kawa.Shell.runFileOrClass(Shell.java:426)
at kawa.repl.processArgs(repl.java:274)
at kawa.repl.main(repl.java:870)
Removing the enclosing (begin ...) makes the script show a good result.
(file #26374)
_______________________________________________________
Additional Item Attachment:
File name: foo.scm Size:0 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?37051>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/