all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: cauderlier@crans.org (Raphaël Cauderlier)
Cc: 16416@debbugs.gnu.org, Stefan Monnier <monnier@iro.umontreal.ca>
Subject: bug#16416: 24.3; [SMIE] Assertion failure in smie-prec2->grammar
Date: Thu, 15 Jul 2021 07:06:16 +0200	[thread overview]
Message-ID: <87im1cqi7r.fsf@gnus.org> (raw)
In-Reply-To: <87y52mo11v.fsf@mojito.crans.org> ("Raphaël Cauderlier"'s message of "Sat, 11 Jan 2014 18:55:56 +0100")

cauderlier@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





      parent reply	other threads:[~2021-07-15  5:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-11 17:55 bug#16416: 24.3; [SMIE] Assertion failure in smie-prec2->grammar Raphaël Cauderlier
2014-01-14  1:04 ` Stefan Monnier
2014-01-14 10:03   ` Raphael Cauderlier
2021-07-15  5:06 ` Lars Ingebrigtsen [this message]

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=87im1cqi7r.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=16416@debbugs.gnu.org \
    --cc=cauderlier@crans.org \
    --cc=monnier@iro.umontreal.ca \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.