Hmm, it seems some versions of flex declare yytext as extern char[]
but others declare it as extern char *. gcc complains (quite rightly too). Worked around it by rearranging the order of inclusions so that we don't have to explicitly declare yytext; this should work with either variant.
Showing
Please register or sign in to comment