SilverScar / C-Language-Parser

A complete Parser for C-Language using Yacc.
95 stars 37 forks source link

Generating y.tab.h #4

Closed AryanSehgal closed 2 years ago

AryanSehgal commented 2 years ago

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

AryanSehgal commented 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.