Closed AryanSehgal closed 2 years ago
The code is absolutely working with one small problem. The first shell command does not generate y.tab.h file. As a result, an error is thrown upon executing the rest of the shell commands. By adding a -d flag to the first command, we can tackle the problem.
The first command of the shell was not generating y.tab.h By adding a flag -d to it, the command generates all the 3 files: y.output, y.tab.c, and y.tab.h