添加存储和修改变量
发现要处理结构体相关数据的存储, 还是要存储原始byte数据要好处理一些 是否需要把所有变量的存储都改为存储原始byte数据 浮点数好像不好处理
This commit is contained in:
@@ -115,7 +115,7 @@ def dist_node_type_typedef(token_list:list[lex_token]):
|
||||
token_list=token_list[1:]
|
||||
else:
|
||||
# c语言预设类型
|
||||
while(token_list[0].token in
|
||||
while(token_list[0].token in
|
||||
[lex_c.TOKEN_INT,lex_c.TOKEN_CHAR,lex_c.TOKEN_SHORT,lex_c.TOKEN_LONG,lex_c.TOKEN_FLOAT,
|
||||
lex_c.TOKEN_DOUBLE,lex_c.TOKEN_VOID,lex_c.TOKEN("*")]):
|
||||
attr.append(token_list[0].name)
|
||||
|
Reference in New Issue
Block a user