help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Why flex uses y.tab.h?


From: Peng Yu
Subject: Why flex uses y.tab.h?
Date: Mon, 11 Feb 2019 15:23:55 -0600

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]