in reply to In search of grammars for parsing
A grammar of flex is in the flex package itself. Check out parse.y in the top directory.
-Mark