GNU bug report logs - #16416
24.3; [SMIE] Assertion failure in smie-prec2->grammar

Previous Next

Package: emacs;

Reported by: cauderlier <at> crans.org (Raphaël Cauderlier)

Date: Sat, 11 Jan 2014 19:56:01 UTC

Severity: normal

Found in version 24.3

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: cauderlier <at> crans.org (Raphaël Cauderlier)
Cc: 16416 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: bug#16416: 24.3; [SMIE] Assertion failure in smie-prec2->grammar
Date: Thu, 15 Jul 2021 07:06:16 +0200
cauderlier <at> crans.org (Raphaël Cauderlier) writes:

> I started emacs with emacs -Q and evaled the following file with
> load-file:
>
> -----
> (require 'smie)
> (smie-prec2->grammar (smie-bnf->prec2 '((name) (l ("a" name)))))
> -----
>
> This raised the following error message:
>
> (cl-assertion-failed (numberp (car cons)))

(I'm going through old bug reports.)

In more recent versions of Emacs, the `smie-prec2->grammar' call returns
nil, so it seems like this bug has been fixed.  (And if I interpret what
Stefan said at the time correctly, that's the right value.)

So I'm closing this bug report.  If there's something more to be worked
on here, please respond to the debbugs address and we'll reopen.

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




This bug report was last modified 4 years and 2 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.