Skip to content

add global variable to compiler#14

Merged
shenao78 merged 4 commits intomainfrom
add_global_variable_to_compiler
Jul 30, 2021
Merged

add global variable to compiler#14
shenao78 merged 4 commits intomainfrom
add_global_variable_to_compiler

Conversation

@shenao78
Copy link
Contributor

No description provided.

compiler->func_definition_list = chain_func_definition_list(
compiler->func_definition_list, pos->definition->u.func_d);
break;
case DECLARATION_DEFINITION:
Copy link
Contributor

@boomyl boomyl Jul 30, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

目前这里是申明、常量、函数、结构体四种?常量也一并加上这次?另外变量定义也放这里?

@shenao78 shenao78 merged commit bd0847a into main Jul 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants