How can i print the number of line where there is a syntax error using yylineno ?
I did the following thing but i constantly get "Number 1 : syntax error"
void yyerror( const char *msg )
printf("Number %d: %s\n", yylineno, msg);
Thanks in advance for any help !