Fix parser issues with names and local labels