aboutsummaryrefslogtreecommitdiff
path: root/enums.h
blob: 603c17bbc44d3eff6b9f614985dfeacaa93c919f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once

// Compilation of tagged unions (enums)

#include <gc/cord.h>

#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);

// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0