tomo/enums.h

15 lines
320 B
C
Raw Normal View History

2024-02-24 12:24:44 -08:00
#pragma once
2024-03-18 09:49:38 -07:00
// Compilation of tagged unions (enums)
#include <gc/cord.h>
2024-02-24 12:24:44 -08:00
#include "ast.h"
#include "environment.h"
void compile_enum_def(env_t *env, ast_t *ast);
CORD compile_enum_typedef(env_t *env, ast_t *ast);
CORD compile_enum_declarations(env_t *env, ast_t *ast);
2024-02-24 12:24:44 -08:00
// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0