resetToGlobal

This function MUST be called when a language frontend first enters a translation unit. It sets the GlobalScope to the current translation unit specified in declaration.