Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/gnu/dist/gcc4/libcpp

Module Name:    src
Committed By:   christos
Date:           Fri May 30 15:12:24 UTC 2008

Modified Files:
        src/gnu/dist/gcc4/libcpp: internal.h lex.c macro.c

Log Message:
Restore functionality lost during the libcpp conversion: cpp -CC should convert
// comments to /* comments */ not only during macro definition, but also
macro argument collection. Otherwise the following:

    #define b(a) a
    main {
        // 1);

gets expanded to:

            return //          1); 0;

instead of:

            return /*          1);*/ 0;

To generate a diff of this commit:
cvs rdiff -r1.1.1.1 -r1.2 src/gnu/dist/gcc4/libcpp/internal.h \
    src/gnu/dist/gcc4/libcpp/lex.c src/gnu/dist/gcc4/libcpp/macro.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index