From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Towards a cleaner build: other output Date: Tue, 18 Jun 2019 11:56:52 +0200 Message-ID: References: <83zhn6zkgf.fsf@gnu.org> <83a7eo9nsh.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="220378"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 18 11:57:45 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hdAs3-000vE1-Sv for ged-emacs-devel@m.gmane.org; Tue, 18 Jun 2019 11:57:44 +0200 Original-Received: from localhost ([::1]:55318 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdAs2-00006G-U2 for ged-emacs-devel@m.gmane.org; Tue, 18 Jun 2019 05:57:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56518) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdArM-00005z-MK for emacs-devel@gnu.org; Tue, 18 Jun 2019 05:57:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hdArL-0007Rr-8N for emacs-devel@gnu.org; Tue, 18 Jun 2019 05:57:00 -0400 Original-Received: from quimby.gnus.org ([80.91.231.51]:57274) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hdArK-0007Ot-Vf for emacs-devel@gnu.org; Tue, 18 Jun 2019 05:56:59 -0400 Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hdArE-0000ed-I2; Tue, 18 Jun 2019 11:56:55 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEULCwsHBwc0MjNRTU+A fH0ZGRrSzc8QEBDiLqT7AAACS0lEQVQ4jV2UQW/cIBCFsaLKV0gPubZglGvL4Oy1iunmbhv5Gqkr crW8sfj7fQO73TTPF4uPNzMMHosv8aY9LhlqV5F30d7Wc9EqIIAHvC87sRzRRPTtA7iqbIYQKgpZ 19o1t0I0jRCqOKJQa8YjsCpk0zRyVaItDiXyegnRqOJQslS16BwtTDnvyL7R5sNh9yEITVqbuKDa MQzH93Q+prf5mJJwpONUjjEzOG3H9DoHAO2tnSwD4+npnADeuuLwzo49A/LkZ4BjBX1HeurRpnGA Y745ekPWOBjORMb/B4zWBIA20QWYVADqIhsXbmN3PnG5UwVkXHeIpcF+C+yY6jkg08eRu+5ruTfg +jg5zSBwqLEAAzBcQPd++geey+UBaEemm09bSq/V4WEY+uVOO1MAehUr8H4Ih2Vj4Eu5v8Zr8hB6 ADux4xP4nTdcC1XHSy1Xc5kDuajNxVGB1Xb0aRic1Vr7dz55BTFaEwLud4TjaSo5qiM6fxqw2yLH E06eLi3p47M/EYOo+Wqnj+APAwQzoUtzunwlADRxKB31hKgFpAq6x20guzPzQ3cFdnfnweaRUHDe jfYAXXXQYsLgljwacst9COGlgmV7zJmPgjGLegQ4VICPGWQfPZAQ7UjBHBl8UKNYmITM81FGhiXV FbSrAni4TJ4USl0djWrhuIGmejBUkkNdRxVDpxoJBCvnaHPmPGt1SdHAKtu9gKUWcNfRjxJQtnnn HLyKfeLO008pkaQCCcBhlfxq3PdSF/8TYsn6SRV8Xq1gj38BCRUOP4pOIfkAAAAASUVORK5CYII= In-Reply-To: (Stefan Monnier's message of "Mon, 17 Jun 2019 18:40:24 -0400") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 80.91.231.51 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:237823 Archived-At: Stefan Monnier writes: >> *Warning* default value of <> tokens changed to QUERY, was NULL_TOKEN >> *Warning* default value of <> tokens changed to TRUE, was QUERY >> *Warning* default value of <> tokens changed to FALSE, was TRUE >> Grammar in javascript.el contains 2 useless nonterminals and 4 useless rules >> Grammar in js-wy.el contains 2 useless nonterminals and 4 useless rules >> Grammar in python-wy.el contains 2 useless nonterminals and 3 useless rules >> Grammar in python-wy.el contains 4 shift/reduce conflicts >> Grammar in python.el contains 2 useless nonterminals and 3 useless rules >> Grammar in python.el contains 4 shift/reduce conflicts >> >> These are from cedet, and are warning about grammars containing... >> useless rules? Perhaps this is more useful at run-time than at compile >> time? > > This is like running `yacc`: you want those warnings when you run > `yacc`, not when you use the resulting grammar. I switched debugging on in wisent and made it tell me what nonterminals were useless and fixed up the .wy grammars, so now there's no warnings about that any more. This is the only remaining output from parsing the grammars now: Grammar in python-wy.el contains 4 shift/reduce conflicts Which I have absolutely no idea how to solve... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no