if a "(", then puts it on the stack

if(leftparen(currentchar))

push(&currentchar,&s);