Commons_2.h
#pragma once #include <stdlib.h> #include <stdio.h> #include <string.h> // expression related words, which needs to be removed as lexer already has enum expr { ELIF, ADD_ASSIGN, INC_OP, SUB_ASSIGN, DEC_OP, DIV_ASSIGN, MUL_ASSIGN, MOD_ASSIGN, AND_ASSIGN, XOR_ASSIGN, OR_ASSIGN, NOT_ASSIGN, RIGHT_OP, LEFT_OP, EQ_EQ_COND, GRT_EQ_OP, LESR_EQ_OP, INT_CONST, CHAR_CONST, F_CONST, OCTAL_CONST, USIGN_INT_CONST, LONG_INT_CONST, LONG_DOUBLE_CONST, E_F_CONST }; enum keywords { TYPEDEF, EXTERN, STATIC, AUTO, REGISTER, CONST, VOLATILE, ...