Why flex uses y.tab.h?

Peng Yu <[email protected]>
Newsgroups gmane.comp.parsers.bison.general
Message-ID <CABrM6wkaGejPjrUOuhYz1fyjW0FTSDLKQRASuB6MAzB_KHE5GA@mail.gmail.com>
Hi,

Since flex does lexical analysis which is before parsing, logically,
it should be that bison includes output from flex.

But the reality is flex using y.tab.h generated by bison which
reverses the dependency relation. This looks weird.

Why is it so?

-- 
Regards,
Peng

_______________________________________________
[email protected] https://lists.gnu.org/mailman/listinfo/help-bison
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.