From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 58109 invoked by alias); 3 Oct 2017 15:21:30 -0000 Mailing-List: contact kawa-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: kawa-owner@sourceware.org Received: (qmail 58100 invoked by uid 89); 3 Oct 2017 15:21:30 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=H*x:1.6, H*UA:1.6 X-HELO: homiemail-a21.g.dreamhost.com Received: from sub3.mail.dreamhost.com (HELO homiemail-a21.g.dreamhost.com) (69.163.253.7) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 03 Oct 2017 15:21:28 +0000 Received: from homiemail-a21.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a21.g.dreamhost.com (Postfix) with ESMTP id 748B41C006E; Tue, 3 Oct 2017 08:21:27 -0700 (PDT) Received: from vereq.eip10.org (sudarshan-chawathe-1.wireless.um.maine.edu [141.114.196.84]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: chaw@eip10.org) by homiemail-a21.g.dreamhost.com (Postfix) with ESMTPSA id 59CC11C0064; Tue, 3 Oct 2017 08:21:27 -0700 (PDT) Received: from chaw by vereq.eip10.org with local (Exim 4.84_2) (envelope-from ) id 1dzP0b-0006E9-2r; Tue, 03 Oct 2017 11:21:21 -0400 To: Damien MATTEI cc: Kawa mailing list Subject: Re: variable definition in include files not usable in class file From: "Sudarshan S Chawathe" Reply-To: "Sudarshan S Chawathe" In-reply-to: Your message of "Tue, 03 Oct 2017 15:41:24 +0200." <201710031541.24999.Damien.Mattei@unice.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <23939.1507044081.1@vereq.eip10.org> Date: Tue, 03 Oct 2017 15:21:00 -0000 Message-ID: <23940.1507044081@vereq.eip10.org> X-IsSubscribed: yes X-SW-Source: 2017-q4/txt/msg00002.txt.bz2 I did not get a chance to look at your code carefully but, based on a very quick look, I suspect that it may be running afoul of syntactic-hygiene rules. In particular, I believe that the identifier debug-mode used in the syntax-definitions of 'debug', etc., cannot refer to the top-level debug-mode variable due to hygiene rules. Regards, -chaw