I have written a yacc file. currently error function looks like this :
void yyerror(char *s) {
fprintf(stderr, "line %d: %s\n", yylineno, s);
}
Now while giving input to it, if there is a left parenthesis is missing it gives simple 'syntax' error.
Can you please suggest, how can I make my custom error messages for these type of errors ?
And how I can proceed further even after getting this error ?
Thank you so much for your advices..