aboutsummaryrefslogtreecommitdiffstats
path: root/wlp/yytest.c
blob: 74c6fe7f84acbd648e5f8950ba557d96fccc6b95 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include <stdio.h>

#include "structs.h"
#include "macro.h"



int parse(FILE *file);

struct wlp_list_t *list;

int main(int argc,char **argv) {
	struct wlp_node_t *tmp;
	int count;

	parse(NULL);

	if(list)
		for(tmp = list->head, count=0; 
		    tmp != list->head || count == 0;
		    tmp = tmp->next, count++)
			printf("FOUND(%d) '%s' '%s' '%s'\n",count,tmp->left,tmp->right,tmp->owner);

	return(0);
}