GNU bug report logs - #15611
24.3; "args out of range" error in C mode fontification

Previous Next

Packages: emacs, cc-mode;

Reported by: Gareth Rees <gdr <at> garethrees.org>

Date: Mon, 14 Oct 2013 17:28:02 UTC

Severity: normal

Tags: fixed

Found in version 24.3

Fixed in version 24.5

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Gareth Rees <gdr <at> garethrees.org>
To: 15611 <at> debbugs.gnu.org
Subject: bug#15611: 24.3; "args out of range" error in C mode fontification
Date: Mon, 14 Oct 2013 18:26:48 +0100
In a fresh emacs -Q, I opened the file test.c, which has the following contents:

    void a()
    {
    #define b() \
      c \
        d(e, (f)); \
      g
    }

I typed

    M-: (font-lock-fontify-region 1 (point-max)) RET

and the following error was signalled:

    Error during redisplay: (jit-lock-function 1) signaled (args-out-of-range 39 55)

I expect C mode not to signal an error in this case.

(I'm running GNU Emacs 24.3.1 (x86_64-apple-darwin, NS apple-appkit-1038.36) of 2013-03-13.)

-- 
Gareth Rees



This bug report was last modified 5 years and 287 days ago.

Previous Next


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