I'm using Bison to create a simple parser and have some trouble understanding the C code below. To me it doesn't look like a valid statement, but gcc comepiles it neatly and the code in the block executes on parsing error.
I'd really like to know what this actually means.
The code I refer to is from http://dinosaur.compilertools.net/bison/bison_7.html#SEC66 :
yyerror (s)
char *s;
{
// Some code here
}