Pass Parser by reference to consumeChar(), makes changes persistant