When parsing in script mode, the file name may not be a valid identifier.
When parsing in script mode, the file name may not be a valid identifier.

This patch makes it so we substitute 'main' instead of warning. Eventually
we probably want to make this an error in library mode and a pedantic
warning in script mode.

Swift SVN r3516

airspeedswift/swift,amraboelela/swift,shajrawi/swift,dreamsxin/swift,nathawes/swift,atrick/swift,sschiau/swift,stephentyrone/swift,return/swift,jopamer/swift,JaSpa/swift,frootloops/swift,austinzheng/swift,deyton/swift,lorentey/swift,modocache/swift,airspeedswift/swift,kperryua/swift,djwbrown/swift,Ivacker/swift,practicalswift/swift,practicalswift/swift,slavapestov/swift,gregomni/swift,codestergit/swift,codestergit/swift,amraboelela/swift,hooman/swift,SwiftAndroid/swift,tardieu/swift,austinzheng/swift,swiftix/swift,therealbnut/swift,tardieu/swift,stephentyrone/swift,swiftix/swift,kperryua/swift,natecook1000/swift,gottesmm/swift,lorentey/swift,deyton/swift,huonw/swift,jckarter/swift,modocache/swift,modocache/swift,swiftix/swift.old,aschwaighofer/swift,tardieu/swift,IngmarStein/swift,hooman/swift,sschiau/swift,xedin/swift,therealbnut/swift,swiftix/swift,Ivacker/swift,calebd/swift,devincoughlin/swift,tardieu/swift,emilstahl/swift,brentdax/swift,danielmartin/swift,arvedviehweger/swift,airspeedswift/swift,stephentyrone/swift,kstaring/swift,cbrentharris/swift,kperryua/swift,roambotics/swift,Jnosh/swift,xedin/swift,calebd/swift,slavapestov/swift,adrfer/swift,roambotics/swift,glessard/swift,felix91gr/swift,felix91gr/swift,karwa/swift,ken0nek/swift,ken0nek/swift,slavapestov/swift,tjw/swift,brentdax/swift,deyton/swift,alblue/swift,nathawes/swift,bitjammer/swift,harlanhaskins/swift,kperryua/swift,austinzheng/swift,natecook1000/swift,apple/swift,stephentyrone/swift,zisko/swift,xedin/swift,calebd/swift,arvedviehweger/swift,russbishop/swift,djwbrown/swift,kperryua/swift,danielmartin/swift,zisko/swift,KrishMunot/swift,brentdax/swift,ahoppen/swift,milseman/swift,zisko/swift,sdulal/swift,hughbe/swift,harlanhaskins/swift,sdulal/swift,MukeshKumarS/Swift,tinysun212/swift-windows,johnno1962d/swift,karwa/swift,uasys/swift,airspeedswift/swift,swiftix/swift,ken0nek/swift,LeoShimonaka/swift,OscarSwanros/swift,gmilos/swift,parkera/swift,tardieu/swift,gottesmm/swift,shahmishal/swift,gregomni/swift,therealbnut/swift,gottesmm/swift,russbishop/swift,nathawes/swift,parkera/swift,ben-ng/swift,sschiau/swift,JGiola/swift,gottesmm/swift,austinzheng/swift,frootloops/swift,shahmishal/swift,parkera/swift,frootloops/swift,cbrentharris/swift,aschwaighofer/swift,mightydeveloper/swift,glessard/swift,kentya6/swift,devincoughlin/swift,shahmishal/swift,alblue/swift,deyton/swift,kstaring/swift,CodaFi/swift,uasys/swift,swiftix/swift.old,djwbrown/swift,glessard/swift,sschiau/swift,emilstahl/swift,karwa/swift,xedin/swift,karwa/swift,ahoppen/swift,codestergit/swift,lorentey/swift,IngmarStein/swift,karwa/swift,airspeedswift/swift,lorentey/swift,OscarSwanros/swift,return/swift,gmilos/swift,tkremenek/swift,kusl/swift,OscarSwanros/swift,hughbe/swift,tinysun212/swift-windows,CodaFi/swift,mightydeveloper/swift,tinysun212/swift-windows,danielmartin/swift,frootloops/swift,shahmishal/swift,gottesmm/swift,djwbrown/swift,emilstahl/swift,felix91gr/swift,kentya6/swift,SwiftAndroid/swift,uasys/swift,devincoughlin/swift,JGiola/swift,Ivacker/swift,zisko/swift,Ivacker/swift,manavgabhawala/swift,therealbnut/swift,lorentey/swift,shahmishal/swift,aschwaighofer/swift,arvedviehweger/swift,gmilos/swift,Jnosh/swift,tkremenek/swift,SwiftAndroid/swift,milseman/swift,amraboelela/swift,xwu/swift,amraboelela/swift,manavgabhawala/swift,manavgabhawala/swift,aschwaighofer/swift,codestergit/swift,kusl/swift,kusl/swift,dreamsxin/swift,practicalswift/swift,calebd/swift,khizkhiz/swift,bitjammer/swift,roambotics/swift,cbrentharris/swift,therealbnut/swift,felix91gr/swift,dduan/swift,kstaring/swift,shajrawi/swift,CodaFi/swift,OscarSwanros/swift,JaSpa/swift,manavgabhawala/swift,danielmartin/swift,bitjammer/swift,milseman/swift,dduan/swift,gregomni/swift,mightydeveloper/swift,return/swift,hughbe/swift,JaSpa/swift,LeoShimonaka/swift,swiftix/swift,ben-ng/swift,johnno1962d/swift,tkremenek/swift,benlangmuir/swift,zisko/swift,cbrentharris/swift,hooman/swift,deyton/swift,SwiftAndroid/swift,tjw/swift,jtbandes/swift,sschiau/swift,hooman/swift,danielmartin/swift,jmgc/swift,kstaring/swift,stephentyrone/swift,OscarSwanros/swift,ahoppen/swift,harlanhaskins/swift,IngmarStein/swift,gribozavr/swift,tjw/swift,sdulal/swift,parkera/swift,codestergit/swift,dduan/swift,zisko/swift,danielmartin/swift,xwu/swift,djwbrown/swift,khizkhiz/swift,ahoppen/swift,frootloops/swift,shajrawi/swift,modocache/swift,tjw/swift,parkera/swift,milseman/swift,felix91gr/swift,aschwaighofer/swift,gribozavr/swift,hooman/swift,gribozavr/swift,slavapestov/swift,sschiau/swift,deyton/swift,ken0nek/swift,hooman/swift,nathawes/swift,adrfer/swift,kstaring/swift,natecook1000/swift,return/swift,russbishop/swift,shahmishal/swift,xedin/swift,JGiola/swift,khizkhiz/swift,Ivacker/swift,swiftix/swift.old,bitjammer/swift,deyton/swift,felix91gr/swift,jopamer/swift,practicalswift/swift,OscarSwanros/swift,kusl/swift,IngmarStein/swift,mightydeveloper/swift,apple/swift,shajrawi/swift,manavgabhawala/swift,kusl/swift,KrishMunot/swift,tjw/swift,devincoughlin/swift,allevato/swift,arvedviehweger/swift,glessard/swift,apple/swift,slavapestov/swift,CodaFi/swift,alblue/swift,emilstahl/swift,huonw/swift,harlanhaskins/swift,felix91gr/swift,allevato/swift,parkera/swift,apple/swift,nathawes/swift,slavapestov/swift,roambotics/swift,karwa/swift,ben-ng/swift,slavapestov/swift,arvedviehweger/swift,atrick/swift,JaSpa/swift,austinzheng/swift,hughbe/swift,jmgc/swift,calebd/swift,parkera/swift,brentdax/swift,emilstahl/swift,zisko/swift,tjw/swift,lorentey/swift,gregomni/swift,johnno1962d/swift,atrick/swift,adrfer/swift,adrfer/swift,adrfer/swift,johnno1962d/swift,jmgc/swift,stephentyrone/swift,mightydeveloper/swift,uasys/swift,glessard/swift,hughbe/swift,rudkx/swift,emilstahl/swift,sdulal/swift,xedin/swift,LeoShimonaka/swift,KrishMunot/swift,johnno1962d/swift,KrishMunot/swift,therealbnut/swift,airspeedswift/swift,karwa/swift,SwiftAndroid/swift,tinysun212/swift-windows,lorentey/swift,harlanhaskins/swift,Ivacker/swift,ben-ng/swift,dduan/swift,swiftix/swift.old,gribozavr/swift,milseman/swift,roambotics/swift,shahmishal/swift,roambotics/swift,IngmarStein/swift,shajrawi/swift,russbishop/swift,xwu/swift,xwu/swift,devincoughlin/swift,allevato/swift,milseman/swift,huonw/swift,karwa/swift,KrishMunot/swift,MukeshKumarS/Swift,kentya6/swift,uasys/swift,mightydeveloper/swift,hooman/swift,mightydeveloper/swift,JGiola/swift,tkremenek/swift,adrfer/swift,Jnosh/swift,Jnosh/swift,manavgabhawala/swift,jtbandes/swift,russbishop/swift,emilstahl/swift,practicalswift/swift,huonw/swift,benlangmuir/swift,tjw/swift,bitjammer/swift,dduan/swift,benlangmuir/swift,rudkx/swift,shajrawi/swift,devincoughlin/swift,jopamer/swift,MukeshKumarS/Swift,practicalswift/swift,Jnosh/swift,jtbandes/swift,gottesmm/swift,bitjammer/swift,rudkx/swift,IngmarStein/swift,hughbe/swift,jopamer/swift,rudkx/swift,jopamer/swift,Ivacker/swift,MukeshKumarS/Swift,SwiftAndroid/swift,tkremenek/swift,arvedviehweger/swift,tkremenek/swift,LeoShimonaka/swift,dduan/swift,Jnosh/swift,djwbrown/swift,gribozavr/swift,MukeshKumarS/Swift,sdulal/swift,atrick/swift,therealbnut/swift,JGiola/swift,amraboelela/swift,practicalswift/swift,return/swift,alblue/swift,modocache/swift,swiftix/swift.old,xedin/swift,jtbandes/swift,Ivacker/swift,khizkhiz/swift,allevato/swift,khizkhiz/swift,emilstahl/swift,natecook1000/swift,jtbandes/swift,sschiau/swift,SwiftAndroid/swift,lorentey/swift,KrishMunot/swift,harlanhaskins/swift,adrfer/swift,austinzheng/swift,CodaFi/swift,natecook1000/swift,airspeedswift/swift,jtbandes/swift,jckarter/swift,benlangmuir/swift,johnno1962d/swift,glessard/swift,xedin/swift,return/swift,allevato/swift,ben-ng/swift,apple/swift,return/swift,natecook1000/swift,kusl/swift,LeoShimonaka/swift,swiftix/swift.old,ben-ng/swift,mightydeveloper/swift,sdulal/swift,shajrawi/swift,huonw/swift,gribozavr/swift,allevato/swift,KrishMunot/swift,gmilos/swift,cbrentharris/swift,cbrentharris/swift,kperryua/swift,atrick/swift,LeoShimonaka/swift,swiftix/swift.old,bitjammer/swift,kentya6/swift,danielmartin/swift,harlanhaskins/swift,brentdax/swift,Jnosh/swift,kentya6/swift,apple/swift,kstaring/swift,modocache/swift,ben-ng/swift,alblue/swift,tinysun212/swift-windows,kusl/swift,jckarter/swift,jopamer/swift,ahoppen/swift,parkera/swift,gregomni/swift,benlangmuir/swift,uasys/swift,alblue/swift,CodaFi/swift,codestergit/swift,jmgc/swift,JGiola/swift,practicalswift/swift,khizkhiz/swift,devincoughlin/swift,kstaring/swift,amraboelela/swift,rudkx/swift,stephentyrone/swift,calebd/swift,brentdax/swift,xwu/swift,LeoShimonaka/swift,sdulal/swift,jmgc/swift,frootloops/swift,manavgabhawala/swift,jckarter/swift,calebd/swift,huonw/swift,tinysun212/swift-windows,jckarter/swift,IngmarStein/swift,huonw/swift,gregomni/swift,ken0nek/swift,jmgc/swift,gmilos/swift,khizkhiz/swift,sschiau/swift,tardieu/swift,ken0nek/swift,shahmishal/swift,alblue/swift,benlangmuir/swift,kentya6/swift,gmilos/swift,swiftix/swift,MukeshKumarS/Swift,russbishop/swift,frootloops/swift,hughbe/swift,cbrentharris/swift,natecook1000/swift,kusl/swift,swiftix/swift.old,jckarter/swift,atrick/swift,dduan/swift,johnno1962d/swift,jmgc/swift,devincoughlin/swift,nathawes/swift,shajrawi/swift,kentya6/swift,MukeshKumarS/Swift,xwu/swift,rudkx/swift,LeoShimonaka/swift,swiftix/swift,sdulal/swift,JaSpa/swift,djwbrown/swift,aschwaighofer/swift,brentdax/swift,gribozavr/swift,allevato/swift,cbrentharris/swift,JaSpa/swift,aschwaighofer/swift,modocache/swift,ahoppen/swift,milseman/swift,ken0nek/swift,xwu/swift,CodaFi/swift,jopamer/swift,tkremenek/swift,codestergit/swift,jckarter/swift,tardieu/swift,arvedviehweger/swift,OscarSwanros/swift,austinzheng/swift,russbishop/swift,jtbandes/swift,gmilos/swift,gribozavr/swift,kentya6/swift,nathawes/swift,kperryua/swift,uasys/swift,gottesmm/swift,amraboelela/swift,tinysun212/swift-windows,JaSpa/swift