Closed jay-o-stotch closed 7 years ago
franca_parser.py line 604: p[0] = ast.Struct(name=p[2], fields=p[4], flags=p[3]) fields=p[4] should be fields=p[5]
p[0] = ast.Struct(name=p[2], fields=p[4], flags=p[3])
fields=p[4]
fields=p[5]
struct_def : STRUCT ID flag_defs '{' struct_fields '}' p[1]: STRUCT p[2]: ID p[3]: glag_defs p[4]: '{' p[5]: struct_fields p[6]: '}'
Thanks for catching this!
Thanks for fixing
franca_parser.py line 604:
p[0] = ast.Struct(name=p[2], fields=p[4], flags=p[3])
fields=p[4]
should befields=p[5]
struct_def : STRUCT ID flag_defs '{' struct_fields '}' p[1]: STRUCT p[2]: ID p[3]: glag_defs p[4]: '{' p[5]: struct_fields p[6]: '}'