Ian Lance Taylor <[EMAIL PROTECTED]> writes:
> Let's do that.

We've already talked about keeping track of the source location of
each #pragma, and searching them for the "state" at a given line.  The
diagnostic machinery seems to be able to tell what file/line each
diagnostic is for, we should be able to scan the pragma list to see
what right thing to do is.  I think this would be far easier than
trying to queue up all the diagnostics and *then* scan the list.

Assuming we've fully converted to the single-integer source location.

Reply via email to