Move stuff around
This commit is contained in:
+9
-9
@@ -56,6 +56,15 @@ static void prefix_operator(Stack *stack, char op)
|
|||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (INST.ispiped)
|
||||||
|
DATA = stack_pop(stack);
|
||||||
|
|
||||||
|
if (INST.isdrained)
|
||||||
|
{
|
||||||
|
stack_push(stack, DATA);
|
||||||
|
DATA = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void expression(Stack *stack, char *code)
|
static void expression(Stack *stack, char *code)
|
||||||
@@ -148,15 +157,6 @@ void execute(Stack *stack, Stack *originstack, char *modname)
|
|||||||
#endif
|
#endif
|
||||||
prefix_operator(stack, NAME[0]);
|
prefix_operator(stack, NAME[0]);
|
||||||
|
|
||||||
if (INST.ispiped)
|
|
||||||
DATA = stack_pop(stack);
|
|
||||||
|
|
||||||
if (INST.isdrained)
|
|
||||||
{
|
|
||||||
stack_push(stack, DATA);
|
|
||||||
DATA = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (NAME[0] == '#' || NAME[0] == '$')
|
if (NAME[0] == '#' || NAME[0] == '$')
|
||||||
NAME++;
|
NAME++;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user