On Mon, Mar 1, 2010 at 8:02 AM, Jason Hsu wrote: > > How can comment lines be misinterpreted by a compiler? =A0Comment lines > are SUPPOSED to be ignored by the compiler. =A0What went wrong here? > > More importantly, how do you tell if a compiler is misinterpreting > your source code? =A0My code looked fine in MPLAB, Geany, and Leafpad. > I don't know how I'm supposed to tell if I'm relying on editing tools > that don't show me what the compiler sees. It's not the comment lines, it's the EOL marker which is handled differently between Unix and DOS. http://en.wikipedia.org/wiki/Newline But like I said earlier, you had a very weird case where you had the CR character, but not the LF! I noticed that you mentioned earlier you were doing this in Linux under WINE... perhaps it was a bug in the cut and paste between those systems. -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist