hi
I want to now when the compiler(which i have written with javacc) discover a semantic error, how it can report the line number where error occurred.