Subject: bug#10090: 24.0.91; c-beginning-of-statement-1: Symbol's value as variable is void: c-nonlabel-token-2-key

From: Oleksandr Gavenko <[email-masked]>
Date: Sun, 20 Nov 2011 22:07:18 +0200

In GNU Emacs 24.0.91.1 (i386-mingw-nt6.1.7601)

  cmd# runemacs -Q

type simple C program (in c-mode):

  int foo() {
    switch (a) {
    case 0:
  a;      // <====  THIS LINE
    }
  }

when you type ';' you hit TAB on "THIS LINE" you get error:

  c-beginning-of-statement-1: Symbol's value as variable is void:
  c-nonlabel-token-2-key

and line was not indented.

-- 
Best regards!