This is the mail archive of the gcc@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]
Other format: [Raw text]

Re: Warning for trigraphs in comment?


Neil Booth <neil@daikokuya.co.uk> writes:

> Zack Weinberg wrote:-
>
>> > is extracted from Herb's GTW #86 -- full message appended below.
>> > I would suggest we warn for trigraphs in comments.
>> 
>> This was discussed a couple weeks back.  3.4 now warns about ??/\n in
>> a comment.  The change is self-contained and could be put into 3.3.1
>> if people think that's a good idea.
>
> It's part of the complete reorganization of line lexing, so I don't
> think it's an easy patch for 3.3.  I'd be happy to be proved wrong
> though.

My bad, I was thinking only about the patch itself, not its
dependencies.

I don't have time to try to reimplement it over 3.3.1's codebase, but
if someone else wants to take a stab at it I don't think it'd be all
that bad.

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]