This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: Exceptions during macro-expansion
- From: Per Bothner <per at bothner dot com>
- To: Duncan Mak <duncanmak at gmail dot com>, kawa mailing list <kawa at sourceware dot org>
- Date: Wed, 3 Jan 2018 22:51:43 -0800
- Subject: Re: Exceptions during macro-expansion
- Authentication-results: sourceware.org; auth=none
- References: <CABgWrqqis4oQ9-B4xLE7hMEWGmhKJ2wm3EPfC3sFi4bHVTZTmg@mail.gmail.com>
On 01/03/2018 03:25 PM, Duncan Mak wrote:
Hello,
I'm trying to come up with a smaller test case, but in my code that
does a bit of macros, I'm hitting these exceptions when running in
Kawa 3.0:
Does this look like it's a known bug?
It's not a known bug, but I'm betting this might help:
diff --git a/gnu/expr/VarValueTracker.java b/gnu/expr/VarValueTracker.java
index e9db3eaf8..8b1522c07 100644
--- a/gnu/expr/VarValueTracker.java
+++ b/gnu/expr/VarValueTracker.java
@@ -23,6 +23,7 @@ public class VarValueTracker
public VarValueTracker (VarValueTracker outer)
{
this.outer = outer;
+ this.visitor = outer.visitor;
this.declValueUsage = outer.declValueUsage;
}
--
--Per Bothner
per@bothner.com http://per.bothner.com/