This is the mail archive of the gcc-patches@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]

Re: C Parser Cleanup


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

| +/* Return the address of a LABEL as a pointer.  */
| +tree
| +label_pointer (name)
| +     tree name;
| +{
| +  tree label, result;
| +
| +  if (pedantic)
| +    pedwarn ("ISO C forbids `&&'");

Since the C++ front-end uses bits from the C front-end, this type of
diagnostic should test for the front-end used --- yes, you just moved
but it is appropriate to improve it because now it is exported and
not embedded in the parser. 


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