This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Alexandre Oliva wrote: > > /* fprintf(stdout, "/* %s */", 1 ? "Maximal" : "Not!"); */ > > This is interpreted as: > > ", 1 ? "Maximal" : "Not!"); */ > > which is clearly in error. Comments do not nest in ANSI/ISO C, AFAIK Comments do not nest: correct. Therefore the comment ends at the first */ just before the ", 1.....". The interpretation is correct. Dave
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |