Parser compiles from .y and .lex files

This commit is contained in:
Partho Bhattacharya
2025-02-26 15:57:08 -05:00
parent 046ccf194b
commit 3ce8cbae59
4 changed files with 8 additions and 2102 deletions

View File

@ -7,6 +7,7 @@
%{
#include <stdbool.h>
#include "typedefs.h"
#include "grammar.tab.h"
int line_number = 1, column_number = 1;
#ifndef DEBUG
#define DEBUG 0