public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
From: Per Bothner <per@bothner.com>
To: Arvydas Silanskas <nma.arvydas.silanskas@gmail.com>,
	kawa mailing list <kawa@sourceware.org>
Subject: Re: When/how during compilation are bindings attached?
Date: Sat, 14 Nov 2020 18:42:37 -0800	[thread overview]
Message-ID: <ad6824f8-b497-1ea3-2a9d-3be34cc43843@bothner.com> (raw)
In-Reply-To: <CAPh7weBx=HFUt4QFVMAA4EJFmLoS7skpv36mur==U+=aBmC0fQ@mail.gmail.com>

On 11/14/20 4:57 PM, Arvydas Silanskas via Kawa wrote:
> I'm working with tracking of definition place for identifiers. For some
> reason, found identifiers don't have binding information attached, do you
> have insight why that could be? Here is standalone snippet (mostly based on
> LSP in kawa source tree)

You needs to add this (after getting the language):

     Language.setDefaults(language);

Language.setDefaults is automatically called by Scheme.registerEnvironment.

(I had to do a little experimentation and searching through the code ...)
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/

  reply	other threads:[~2020-11-15  2:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-15  0:57 Arvydas Silanskas
2020-11-15  2:42 ` Per Bothner [this message]
2020-11-15  8:59   ` Arvydas Silanskas

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=ad6824f8-b497-1ea3-2a9d-3be34cc43843@bothner.com \
    --to=per@bothner.com \
    --cc=kawa@sourceware.org \
    --cc=nma.arvydas.silanskas@gmail.com \
    /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).