#include "check.h" #include int check_atom(Token *list) { while (list != NULL) { if (list->type == TOK_GROUP) { if (list->group.type == GROUP_ATOM) return 1; if (check_atom(list->group.tokens)) return 1; } list = list->next; } return 0; }