Subject: bug#15611: 24.3; "args out of range" error in C mode fontification

From: Gareth Rees <[email-masked]>
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