bugKawa - Bugs: bug #12318, Reader macros not working

 
 

bug #12318: Reader macros not working

Submitted by:  Dean Ferreyra <dferreyra>
Submitted on:  Mon 14 Mar 2005 07:55:21 PM UTC  
 
Category: Scheme languageSeverity: 3 - Normal
Item Group: Unexpected resultStatus: Duplicate
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 14 Mar 2005 08:01:11 PM UTC, comment #1:

Sorry for the double-post! This is the same as bug #12317; I fooled myself into thinking the original had failed.

Dean Ferreyra <dferreyra>
Mon 14 Mar 2005 07:55:21 PM UTC, original submission:

Reader macros in our (Merced Systems) source are no longer working with the latest Kawa sources.

I've attached a small test case that demonstrates the problem. Here's what I'm getting with a recent Kawa version:

% make NEW=1 default
rm -f *.class
CLASSPATH=.:~/kawa/cvs/kawa-pure-build/kawa-1.7.91.jar java kawa.repl --warn-undefined-variable --main -C reader1.scm
(compiling reader1.scm)
CLASSPATH=.:~/kawa/cvs/kawa-pure-build/kawa-1.7.91.jar java kawa.repl --warn-undefined-variable --main -C reader2.scm
(compiling reader2.scm)
(set-dispatch-macro-character ...) called, I think.
reader2.scm:5:1: let has no value for 'a'
reader2.scm:5:12: invalid dispatch character '@'
make: *** [reader2.class] Error 255

and here is what I get with an older version:

% make OLD=1 default
rm -f *.class
CLASSPATH=.:~/kawa/cvs/kawa-magnetic/kawa-1.7.90-m019-a.jar java kawa.repl --warn-undefined-variable --main -C reader1.scm
(compiling reader1.scm)
CLASSPATH=.:~/kawa/cvs/kawa-magnetic/kawa-1.7.90-m019-a.jar java kawa.repl --warn-undefined-variable --main -C reader2.scm
(compiling reader2.scm)
(set-dispatch-macro-character ...) called, I think.
CLASSPATH=.:~/kawa/cvs/kawa-magnetic/kawa-1.7.90-m019-a.jar java reader2
a: 100

Dean Ferreyra <dferreyra>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #2730:  reader.diff added by dferreyra (568B - application/octet-stream - Small test case that exhibits the problem)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 14 Mar 2005 08:23:00 PM UTCbothnerStatusNone=>Duplicate
  Open/ClosedOpen=>Closed
Mon 14 Mar 2005 07:55:21 PM UTCdferreyraAttached File-=>Added reader.diff, #2308

Back to the top


Powered by Savane 3.1-cleanup1