Hello I have a few questions
1. I made a test.l and a test.y and put some very simple code in them from a tutorial I found online. then I use them on the win_bison.exe and the win_flex.exe but I only get the lex.yy.c and the test.tab.c files. I am missing the test.tab.h file. I can't find out why. I tied many different test.y and test.l from many tutorials but I am always missing the third file.
I have another question but I think if I #1 working then it might fix the second question.
thank you for your time.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello I have a few questions
1. I made a test.l and a test.y and put some very simple code in them from a tutorial I found online. then I use them on the win_bison.exe and the win_flex.exe but I only get the lex.yy.c and the test.tab.c files. I am missing the test.tab.h file. I can't find out why. I tied many different test.y and test.l from many tutorials but I am always missing the third file.
I have another question but I think if I #1 working then it might fix the second question.
thank you for your time.
you should use '-d' option for bison. see https://stackoverflow.com/questions/47726404/how-to-put-header-file-to-tab-h-in-bison for reference
win_bison.exe -d test.y