Searched refs:stack_ptr (Results 1 – 1 of 1) sorted by relevance
139 static int stack_ptr; variable192 if (stack_ptr < STACKSIZE) { in npush()193 stack[stack_ptr].num_type = TRUE; in npush()194 stack[stack_ptr].data.num = x; in npush()195 stack_ptr++; in npush()203 if (stack_ptr > 0) { in npop()204 stack_ptr--; in npop()205 if (stack[stack_ptr].num_type) in npop()206 result = stack[stack_ptr].data.num; in npop()214 if (stack_ptr < STACKSIZE) { in spush()[all …]