Rename file

This commit is contained in:
Krzosa Karol
2022-06-22 14:45:37 +02:00
parent e035a3510f
commit 1ac066c0b6
3 changed files with 3 additions and 2 deletions

View File

@@ -161,8 +161,8 @@ want to export all the symbols, we can namespace them optionally.
#include "parsing.cpp"
#include "typechecking.h"
#include "typechecking.cpp"
#include "c_codegen.cpp"
#include "c_language_codegen.cpp"
#include "bytecode_interpreter.cpp"
#include "bytecode_codegen.cpp"

View File

@@ -1113,7 +1113,7 @@ resolve_expr(Ast_Expr *ast, Resolve_Flag flags, Ast_Type *compound_context){
node->resolved_type = value.type;
if(is_const){
// We don't need to propagte deeps for const values cause we are rewritting them
// We don't need to propagte types for const values cause we are rewritting them
rewrite_into_const(node, Ast_Binary, value);
return operand_const_rvalue(value);
}
@@ -1144,6 +1144,7 @@ resolve_expr(Ast_Expr *ast, Resolve_Flag flags, Ast_Type *compound_context){
rewrite_into_const(node, Ast_Array, value.value);
}
node->resolved_type = type_pointer(value.type_val);
return operand_type(node->resolved_type);
}