This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: compile-with-options


Dean Ferreyra wrote:
Hello,

I've done a pull from CVS of the Kawa sources and the (with-compile-options ...) form no longer compiles for me. I've attached a simple example where I get the following error:

  java kawa.repl -C options.scm
  (compiling options.scm)
  options.scm:2:3: no option keyword in with-compile-options

Any ideas?

Dean Ferreyra

Ooops. My changes from Saturday removed one line which shouldn't have been. Fixed in CVS with appended patch. -- --Per Bothner per@bothner.com http://per.bothner.com/
Index: with_compile_options.java
===================================================================
RCS file: /cvs/kawa/kawa/kawa/standard/with_compile_options.java,v
retrieving revision 1.4
diff -u -r1.4 with_compile_options.java
--- with_compile_options.java	22 Jan 2005 21:09:17 -0000	1.4
+++ with_compile_options.java	26 Jan 2005 23:23:33 -0000
@@ -20,6 +20,7 @@
 	return;
       }
     rest = tr.scanBody(rest, defs, true);
+    rest = new Pair(stack, rest);
     tr.currentOptions.popOptionValues(stack);
     tr.formStack.add(Translator.makePair(form, form.car, rest));
   }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]