Propagate scope flags refactor to emitcpy.c.
Propagate scope flags refactor to emitcpy.c.

ericsnowcurrently/micropython,methoxid/micropystat,ceramos/micropython,xhat/micropython,puuu/micropython,SungEun-Steve-Kim/test-mp,HenrikSolver/micropython,tdautc19841202/micropython,ruffy91/micropython,utopiaprince/micropython,hosaka/micropython,supergis/micropython,chrisdearman/micropython,deshipu/micropython,trezor/micropython,mianos/micropython,ryannathans/micropython,oopy/micropython,torwag/micropython,EcmaXp/micropython,ChuckM/micropython,drrk/micropython,redbear/micropython,vitiral/micropython,ruffy91/micropython,paul-xxx/micropython,dhylands/micropython,aitjcize/micropython,Peetz0r/micropython-esp32,ryannathans/micropython,jlillest/micropython,ernesto-g/micropython,ganshun666/micropython,Vogtinator/micropython,kostyll/micropython,blmorris/micropython,firstval/micropython,matthewelse/micropython,jimkmc/micropython,torwag/micropython,utopiaprince/micropython,slzatz/micropython,ChuckM/micropython,dxxb/micropython,supergis/micropython,tralamazza/micropython,skybird6672/micropython,mianos/micropython,skybird6672/micropython,ChuckM/micropython,ChuckM/micropython,SHA2017-badge/micropython-esp32,cloudformdesign/micropython,heisewangluo/micropython,alex-march/micropython,ahotam/micropython,henriknelson/micropython,martinribelotta/micropython,bvernoux/micropython,dmazzella/micropython,supergis/micropython,tuc-osg/micropython,TDAbboud/micropython,supergis/micropython,trezor/micropython,ganshun666/micropython,orionrobots/micropython,ahotam/micropython,torwag/micropython,slzatz/micropython,adafruit/micropython,selste/micropython,xhat/micropython,pfalcon/micropython,adafruit/micropython,swegener/micropython,pozetroninc/micropython,alex-robbins/micropython,Vogtinator/micropython,adafruit/circuitpython,Vogtinator/micropython,misterdanb/micropython,henriknelson/micropython,dinau/micropython,selste/micropython,danicampora/micropython,stonegithubs/micropython,cwyark/micropython,pfalcon/micropython,mgyenik/micropython,HenrikSolver/micropython,hiway/micropython,MrSurly/micropython,kostyll/micropython,jlillest/micropython,Peetz0r/micropython-esp32,stonegithubs/micropython,hiway/micropython,noahwilliamsson/micropython,tdautc19841202/micropython,redbear/micropython,feilongfl/micropython,martinribelotta/micropython,noahchense/micropython,xyb/micropython,martinribelotta/micropython,alex-march/micropython,infinnovation/micropython,suda/micropython,noahwilliamsson/micropython,KISSMonX/micropython,SHA2017-badge/micropython-esp32,vriera/micropython,torwag/micropython,emfcamp/micropython,methoxid/micropystat,tuc-osg/micropython,dhylands/micropython,noahwilliamsson/micropython,ceramos/micropython,tdautc19841202/micropython,misterdanb/micropython,alex-robbins/micropython,feilongfl/micropython,dhylands/micropython,pramasoul/micropython,alex-march/micropython,deshipu/micropython,ruffy91/micropython,ceramos/micropython,adamkh/micropython,noahwilliamsson/micropython,adafruit/circuitpython,xyb/micropython,tralamazza/micropython,swegener/micropython,hosaka/micropython,ericsnowcurrently/micropython,toolmacher/micropython,slzatz/micropython,Peetz0r/micropython-esp32,kerneltask/micropython,praemdonck/micropython,turbinenreiter/micropython,vitiral/micropython,martinribelotta/micropython,hosaka/micropython,SHA2017-badge/micropython-esp32,ernesto-g/micropython,ceramos/micropython,xyb/micropython,kerneltask/micropython,pramasoul/micropython,jmarcelino/pycom-micropython,tdautc19841202/micropython,selste/micropython,pfalcon/micropython,alex-robbins/micropython,firstval/micropython,adafruit/micropython,matthewelse/micropython,lowRISC/micropython,dinau/micropython,rubencabrera/micropython,ericsnowcurrently/micropython,dinau/micropython,tobbad/micropython,warner83/micropython,ahotam/micropython,mhoffma/micropython,cwyark/micropython,AriZuu/micropython,cloudformdesign/micropython,lbattraw/micropython,dxxb/micropython,Vogtinator/micropython,tobbad/micropython,aethaniel/micropython,blazewicz/micropython,hosaka/micropython,xhat/micropython,pfalcon/micropython,warner83/micropython,kostyll/micropython,EcmaXp/micropython,stonegithubs/micropython,aethaniel/micropython,blmorris/micropython,chrisdearman/micropython,misterdanb/micropython,neilh10/micropython,TDAbboud/micropython,adafruit/micropython,orionrobots/micropython,danicampora/micropython,jmarcelino/pycom-micropython,blazewicz/micropython,xyb/micropython,cnoviello/micropython,mpalomer/micropython,mgyenik/micropython,drrk/micropython,aitjcize/micropython,paul-xxx/micropython,vitiral/micropython,tobbad/micropython,dxxb/micropython,lbattraw/micropython,neilh10/micropython,mhoffma/micropython,blazewicz/micropython,noahchense/micropython,kerneltask/micropython,xuxiaoxin/micropython,tdautc19841202/micropython,bvernoux/micropython,micropython/micropython-esp32,hiway/micropython,redbear/micropython,vriera/micropython,bvernoux/micropython,jlillest/micropython,dinau/micropython,toolmacher/micropython,micropython/micropython-esp32,blazewicz/micropython,Vogtinator/micropython,danicampora/micropython,dhylands/micropython,vriera/micropython,KISSMonX/micropython,kerneltask/micropython,cnoviello/micropython,oopy/micropython,selste/micropython,mgyenik/micropython,micropython/micropython-esp32,cwyark/micropython,jlillest/micropython,lbattraw/micropython,jmarcelino/pycom-micropython,lowRISC/micropython,puuu/micropython,tuc-osg/micropython,emfcamp/micropython,HenrikSolver/micropython,lowRISC/micropython,utopiaprince/micropython,slzatz/micropython,jimkmc/micropython,alex-march/micropython,warner83/micropython,xuxiaoxin/micropython,adafruit/micropython,feilongfl/micropython,Timmenem/micropython,orionrobots/micropython,xhat/micropython,danicampora/micropython,martinribelotta/micropython,MrSurly/micropython,ganshun666/micropython,cnoviello/micropython,ryannathans/micropython,deshipu/micropython,orionrobots/micropython,jlillest/micropython,jimkmc/micropython,PappaPeppar/micropython,chrisdearman/micropython,xyb/micropython,bvernoux/micropython,kostyll/micropython,Peetz0r/micropython-esp32,pozetroninc/micropython,henriknelson/micropython,MrSurly/micropython,jimkmc/micropython,micropython/micropython-esp32,aethaniel/micropython,adafruit/circuitpython,trezor/micropython,pozetroninc/micropython,turbinenreiter/micropython,TDAbboud/micropython,heisewangluo/micropython,trezor/micropython,AriZuu/micropython,danicampora/micropython,infinnovation/micropython,omtinez/micropython,ericsnowcurrently/micropython,galenhz/micropython,jimkmc/micropython,swegener/micropython,PappaPeppar/micropython,KISSMonX/micropython,ahotam/micropython,praemdonck/micropython,TDAbboud/micropython,toolmacher/micropython,mianos/micropython,omtinez/micropython,mpalomer/micropython,stonegithubs/micropython,lbattraw/micropython,infinnovation/micropython,warner83/micropython,Peetz0r/micropython-esp32,kostyll/micropython,adafruit/circuitpython,pramasoul/micropython,firstval/micropython,utopiaprince/micropython,torwag/micropython,noahchense/micropython,dmazzella/micropython,hosaka/micropython,selste/micropython,EcmaXp/micropython,rubencabrera/micropython,tralamazza/micropython,ganshun666/micropython,ahotam/micropython,orionrobots/micropython,rubencabrera/micropython,paul-xxx/micropython,drrk/micropython,aethaniel/micropython,dhylands/micropython,adamkh/micropython,jmarcelino/pycom-micropython,blmorris/micropython,ernesto-g/micropython,tralamazza/micropython,dmazzella/micropython,PappaPeppar/micropython,emfcamp/micropython,cloudformdesign/micropython,aitjcize/micropython,trezor/micropython,Timmenem/micropython,matthewelse/micropython,blmorris/micropython,mhoffma/micropython,vriera/micropython,turbinenreiter/micropython,puuu/micropython,omtinez/micropython,jmarcelino/pycom-micropython,neilh10/micropython,praemdonck/micropython,lowRISC/micropython,mpalomer/micropython,toolmacher/micropython,adamkh/micropython,warner83/micropython,ChuckM/micropython,AriZuu/micropython,redbear/micropython,feilongfl/micropython,oopy/micropython,lbattraw/micropython,firstval/micropython,rubencabrera/micropython,aitjcize/micropython,pozetroninc/micropython,ryannathans/micropython,alex-robbins/micropython,EcmaXp/micropython,firstval/micropython,toolmacher/micropython,methoxid/micropystat,vitiral/micropython,slzatz/micropython,methoxid/micropystat,cloudformdesign/micropython,neilh10/micropython,swegener/micropython,SHA2017-badge/micropython-esp32,mhoffma/micropython,misterdanb/micropython,xuxiaoxin/micropython,paul-xxx/micropython,suda/micropython,pramasoul/micropython,pozetroninc/micropython,vriera/micropython,KISSMonX/micropython,hiway/micropython,mianos/micropython,ericsnowcurrently/micropython,oopy/micropython,HenrikSolver/micropython,drrk/micropython,infinnovation/micropython,adamkh/micropython,MrSurly/micropython-esp32,KISSMonX/micropython,utopiaprince/micropython,galenhz/micropython,chrisdearman/micropython,heisewangluo/micropython,MrSurly/micropython-esp32,omtinez/micropython,noahchense/micropython,PappaPeppar/micropython,heisewangluo/micropython,Timmenem/micropython,ceramos/micropython,kerneltask/micropython,mpalomer/micropython,paul-xxx/micropython,skybird6672/micropython,noahchense/micropython,heisewangluo/micropython,ganshun666/micropython,noahwilliamsson/micropython,SungEun-Steve-Kim/test-mp,cnoviello/micropython,HenrikSolver/micropython,adafruit/circuitpython,ernesto-g/micropython,PappaPeppar/micropython,ruffy91/micropython,dinau/micropython,methoxid/micropystat,blazewicz/micropython,misterdanb/micropython,galenhz/micropython,galenhz/micropython,suda/micropython,suda/micropython,emfcamp/micropython,suda/micropython,aethaniel/micropython,dmazzella/micropython,tobbad/micropython,praemdonck/micropython,mhoffma/micropython,MrSurly/micropython,EcmaXp/micropython,puuu/micropython,tobbad/micropython,SHA2017-badge/micropython-esp32,AriZuu/micropython,xuxiaoxin/micropython,mpalomer/micropython,tuc-osg/micropython,adamkh/micropython,redbear/micropython,Timmenem/micropython,pramasoul/micropython,AriZuu/micropython,MrSurly/micropython,MrSurly/micropython-esp32,neilh10/micropython,cloudformdesign/micropython,matthewelse/micropython,xhat/micropython,Timmenem/micropython,stonegithubs/micropython,bvernoux/micropython,alex-robbins/micropython,cwyark/micropython,deshipu/micropython,cnoviello/micropython,swegener/micropython,turbinenreiter/micropython,galenhz/micropython,lowRISC/micropython,emfcamp/micropython,supergis/micropython,MrSurly/micropython-esp32,cwyark/micropython,TDAbboud/micropython,dxxb/micropython,henriknelson/micropython,matthewelse/micropython,deshipu/micropython,henriknelson/micropython,hiway/micropython,skybird6672/micropython,SungEun-Steve-Kim/test-mp,ernesto-g/micropython,praemdonck/micropython,mgyenik/micropython,ryannathans/micropython,infinnovation/micropython,chrisdearman/micropython,SungEun-Steve-Kim/test-mp,feilongfl/micropython,skybird6672/micropython,rubencabrera/micropython,mianos/micropython,vitiral/micropython,adafruit/circuitpython,MrSurly/micropython-esp32,ruffy91/micropython,micropython/micropython-esp32,puuu/micropython,xuxiaoxin/micropython,omtinez/micropython,alex-march/micropython,dxxb/micropython,matthewelse/micropython,tuc-osg/micropython,SungEun-Steve-Kim/test-mp,oopy/micropython,blmorris/micropython,pfalcon/micropython,mgyenik/micropython,drrk/micropython,turbinenreiter/micropython