emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Towards a cleaner build: other output


From: Lars Ingebrigtsen
Subject: Re: Towards a cleaner build: other output
Date: Tue, 18 Jun 2019 16:00:27 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Lars Ingebrigtsen <address@hidden> writes:

> Stefan Monnier <address@hidden> writes:
>
>> So we should either learn to live with this, or provide some way to tell
>> wisent "expect 4 shift-reduce conflicts".
>
> Hm...  I think I'll take a stab at adding a method to tell wisent to
> expect those shift/reduce conflicts...

That was easy.  I added a new spec to the .wy files that allowed
per-grammaer specification of the shift/reduce conflicts.

But after I did that I noticed this in comp.el:

(defcustom wisent-expected-conflicts nil
  "If non-nil suppress the warning about shift/reduce conflicts.
It is a decimal integer N that says there should be no warning if
there are N shift/reduce conflicts and no reduce/reduce conflicts.  A
warning is given if there are either more or fewer conflicts, or if
there are any reduce/reduce conflicts."
  :group 'wisent
  :type '(choice (const nil) integer))

So somebody has struggled with this before, apparently.  :-/  But since
that variable is not a per-grammar setting, it doesn't seem very
useful..

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

[Prev in Thread] Current Thread [Next in Thread]