[This message is also sent to the XEmacs bug report address.]
"Sandesh Goel" <SandeshGoel(a)WoodsideNet.Com> wrote:
The code line following a three slash comment is not indented
properly
as in the following code snippet.
void f()
{
int x;
/// comment
x = 1;
}
/.../
Thank you. I've eliminated CC Mode from this and minimized it to a
test case that shows the bug in the builtin syntax handling routines
in XEmacs 21.4.6. (This doesn't quite look like the bug that has been
reported earlier with forward-comment and some combinations of C and
C++ comments.)
Steps to reproduce:
1. Start XEmacs 21.4.6 with -q -no-site-file.
2. Evaluate these forms to set up the syntax table for C and C++
comments:
(modify-syntax-entry ?/ ". 1456" (syntax-table))
(modify-syntax-entry ?* ". 23" (syntax-table))
(modify-syntax-entry ?\n "> b" (syntax-table))
3. Enter / / / RET
4. Evaluate (forward-comment -1).
Now point is at second slash, but it should be at the first. This is a
regression from XEmacs 20.4.