Updated parser to handle proc as a variable name.