Lines Matching refs:topnode
237 static struct Node *topnode; variable
330 topnode = malloc((argc + 1) * sizeof (struct Node)); in main()
331 (void) memset(topnode, 0, (argc + 1) * sizeof (struct Node)); in main()
333 if (compile(argv + paths, topnode, &action_expression) == 0) { in main()
335 (void) memcpy(topnode, &PRINT_NODE, sizeof (struct Node)); in main()
349 savenode = topnode; in main()
350 topnode = freenode++; in main()
351 (void) memcpy(topnode, &LPAREN_NODE, sizeof (struct Node)); in main()
352 topnode->next = freenode; in main()
353 topnode->first.np = savenode; in main()
354 (void) memcpy(topnode->next, &PRINT_NODE, sizeof (struct Node)); in main()
433 struct Node *oldnp = topnode; in compile()
495 np->first.np = topnode; in compile()
496 topnode = np; in compile()
501 struct Node *save = topnode; in compile()
502 topnode = np+1; in compile()
504 i = compile(++av, topnode, actionp); in compile()
505 np->first.np = topnode; in compile()
506 topnode = save; in compile()
937 struct Node *np = topnode; in execute()
994 struct Node *save = topnode; in execute()
995 topnode = np->first.np; in execute()
998 topnode = save; in execute()