The compiler actually says the physical line number, so the one with 111 next to it in MPLAB is the one that the compiler is complaining about. Most compilers are like this, although a few aren't, which is probably where your friend got confused.
I'm at school right now, so I'm too busy to look at the code... when I get home.
