Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
BaseMax committed Dec 28, 2024
1 parent adbe389 commit 8ff866e
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions src/generator.c
Original file line number Diff line number Diff line change
Expand Up @@ -337,10 +337,6 @@ string_t *generator_code_type(generator_t *generator, ast_value_type_t *type) {

return code;

// case AST_TYPE_KIND_MAP:
// string_append_str(code, "map");
//
// return code;

case AST_TYPE_KIND_STRUCT:
string_append_str(code, "struct");
Expand All @@ -352,10 +348,15 @@ string_t *generator_code_type(generator_t *generator, ast_value_type_t *type) {

return code;

// case AST_TYPE_KIND_UNION:
// string_append_str(code, "union");
//
// return code;
// case AST_TYPE_KIND_MAP:
// string_append_str(code, "map");
//
// return code;

// case AST_TYPE_KIND_UNION:
// string_append_str(code, "union");
//
// return code;

case AST_TYPE_KIND_POINTER:
string_append_str(code, "pointer");
Expand Down

0 comments on commit 8ff866e

Please sign in to comment.