diff options
Diffstat (limited to 'wlp/C/yytest.c')
-rw-r--r-- | wlp/C/yytest.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/wlp/C/yytest.c b/wlp/C/yytest.c new file mode 100644 index 0000000..74c6fe7 --- /dev/null +++ b/wlp/C/yytest.c @@ -0,0 +1,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); +} |