summaryrefslogtreecommitdiff
path: root/test/ragel.d/main.c
blob: 7d3b082465e9d5fcb969c2d12a17005ef7c48763 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <colm/colm.h>

extern struct colm_sections trans_object;

int main( int argc, const char **argv )
{
	struct colm_program *prg;
	int exit_status;

	prg = colm_new_program( &trans_object );
	colm_set_debug( prg, 0 );
	colm_run_program( prg, argc, argv );
	exit_status = colm_delete_program( prg );
	return exit_status;
}