Re: Why flex uses y.tab.h?

2019-02-11 Thread Akim Demaille
> Le 11 févr. 2019 à 22:23, Peng Yu a écrit : > > 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

Why flex uses y.tab.h?

2019-02-11 Thread Peng Yu
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 ___