> -----Original Message----- > From: > avr-libc-dev-bounces+eric.weddington=atmel....@nongnu.org > [mailto:avr-libc-dev-bounces+eric.weddington=atmel....@nongnu. > org] On Behalf Of Frédéric Nadeau > Sent: Tuesday, March 31, 2009 3:59 PM > To: avr-libc-dev@nongnu.org > Subject: Re: [avr-libc-dev] Re: [bug #25300] Additional i/o port names > > Making the script to generate all in upper case is a piece of cake. > However having the script to report all the error is more or less > complicated. I'll see what I can do about that
Read the name from the file and store a copy of it. Then uppercase the name and compare that to the original name (previously stored). If they do no match, then there is an error in the XML file. Log the name of the XML file, and the name that is in error, whether through XPath, or line number of XML file (assuming XML is not a single line). Eric _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-libc-dev