main.c 421 Bytes
Newer Older
Laszlo Domoszlai's avatar
Laszlo Domoszlai committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

#include <stdio.h>

#include "mem.h"
#include "fun.h"
#include "parse.h"

int main()
{   
	init_mem();

	int res;
	char* stream = "37 F12 example.g_453 6 AF3 add2 VA0 VA1 ";
	 
	FunEntry* entry;
	
	parseLine(&stream, (FunFlags**) &entry);
	
	printf("%s", entry->name);
	
//   add_fun("jimbo", (FunFlags*) "artist");
//   char *tval = (char*) find_fun("jimbo");
//   printf ("shortcut tval for jimbo = %s\n", tval);   
}