OSDN Git Service

Hmm, it seems some versions of flex declare yytext as extern char[]
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 21 Mar 1999 01:07:07 +0000 (01:07 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 21 Mar 1999 01:07:07 +0000 (01:07 +0000)
commit1b8d9466fbda1072c645a2762658baa27aab883a
tree034c72063139010945bc9057df294c4cce86d609
parente4274d60a5c2ccadec7b81b42a90580c109ffcc0
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.
src/pl/plpgsql/src/gram.y