On Sat, 25 Jul 2009, Alan B. Pearce wrote: > >The C18 compiler's cryptic "syntax error on line xxxx" > >didn't exactly help either. > > C30 is like this as well. It knows there is a syntax error in that it has > reached something without finding a closing bracket, why does it need to use > a catch-all error message??? > Because at that level of parsing it may just be looking for any one of a set of tokens. The "catch-all error message" just means it found something it wasn't expecting (not in the list, maybe a keyword, brace or semicolon). At that level the function doesn't know what it's parsing so it can't tell you what the real problem is. Friendly Regards Sergio Masci -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist