[gnu.emacs.bug] C-Mode garbles a string

fpb@sunpitt.east.sun.com (Frank P. Bresz) (12/05/89)

In GNU Emacs 18.52.3 of Tue Apr 11 1989 on omaha1 (berkeley-unix)

If I place the following text into an empty C-Mode buffer :

foo()
{
char s = "grep -i -l \"%s\" ../istrfile/*.HELP > KWSearchFnames";
}

I then place the cursor at the opening brace {.  When I hit M-C-Q (indent-c-exp)
It changes the string into :

foo()
{
    char s = "grep -i -l \"%s\" ../istrfile /*.HELP > KWSearchFnames";
}


Notice that this garbles the interior of the string.


					Frank P. Bresz }*{
Westinghouse Electric Corporation
ITTC Mail Stop 7
P.O. Box 598
Pittsburgh, PA 15230-0598
(412)733-6749
Fax: (412)733-6444