public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
From: Per Bothner <per@bothner.com>
To: Duncan Mak <duncanmak@gmail.com>,
	kawa mailing list <kawa@sourceware.org>
Subject: Re: Exceptions during macro-expansion
Date: Thu, 04 Jan 2018 06:52:00 -0000	[thread overview]
Message-ID: <0e2f23ae-7a6a-5e2b-04ef-357e24775b3a@bothner.com> (raw)
In-Reply-To: <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/

      reply	other threads:[~2018-01-04  6:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-03 23:26 Duncan Mak
2018-01-04  6:52 ` Per Bothner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0e2f23ae-7a6a-5e2b-04ef-357e24775b3a@bothner.com \
    --to=per@bothner.com \
    --cc=duncanmak@gmail.com \
    --cc=kawa@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).