Moved function call parsing code from write_operators_from_stack() function to new parse_function_call()

Signed-off-by: Christian Gunderman <christian@sonofboss.cwru.edu>