I want to add new syntax to p4. I have added a new type like struct in p4parser.ypp and p4lexer.ll. but I have some errors about defining IR::Type_New like IR::Type_Struct and I tried to define it in ir_genrated.h and other codes but I have an error yet. Please let me know when we want to add new syntax in p4, we need to change which codes except for p4parser.ypp and p4lexer.ll.
Thank you so much.