[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
c-electric-semi&comma barfs
From: |
Tak Ota |
Subject: |
c-electric-semi&comma barfs |
Date: |
Mon, 15 Sep 2003 10:36:09 -0700 (PDT) |
There is a problem in the new C mode in the head of CVS. Here is a
simple test case. In a C mode buffer containing only the following
two functions,
------------------------------
void func1(void)
{
return;
}
void func2(void)
{
return;
}
------------------------------
narrow to the `func2' (M-x narrow-to-defun) and delete the `;' after
the keyword `return' and retype it, emacs signals "Wrong type
argument: number-or-marker-p, (18 . 31)".
In function `c-parse-state' an element of `c-state-cache' seems to be
unexpectedly a cons cell instead of an integer.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- c-electric-semi&comma barfs,
Tak Ota <=