[8696] in Athena Bugs

home help back first fref pref prev next nref lref last post

rs6000 /lib/cpp

daemon@ATHENA.MIT.EDU (Ken Raeburn)
Sun Dec 1 20:41:47 1991

Date: Sun, 1 Dec 91 20:41:30 -0500
From: raeburn@Athena.MIT.EDU (Ken Raeburn)
To: bugs@Athena.MIT.EDU

On rosebud, the rs6000 in the SIPB office:

    athena% cat /tmp/foo.c
    foo () {
      error ("hexadecimal digitE after \\x");
    }
    athena% cc -E /tmp/foo.c
    # 1 "/tmp/foo.c"
    foo () {
      error ("hexadecimal digitE after \\x");
    }
    athena% /lib/cpp /tmp/foo.c
    # 1 "/tmp/foo.c"
    foo () {
      error ("hexadecimal digitE after \\x");
	    2 |   error ("hexadecimal digitE after \\x");
		.....................................a...
    a - 1288-235: (W) Illegal escape sequence x ignored.
    }
    athena%

The "\\" should be a perfectly legal escape sequence producing a
single backslash character; the "x" is not part of the escape
sequence.

home help back first fref pref prev next nref lref last post