Removed dependency on globals.h from parser