Re: Name spaces of PIR identifiers

2008-09-03 Thread Klaas-Jan Stol
On Tue, Sep 2, 2008 at 8:08 AM, François Perrad <[EMAIL PROTECTED]>wrote: > It seems that PIR uses only one name space of identifiers. > > $ cat const.pir > .const int cst = 42 > > .sub 'cst' >print cst > .end > > $ parrot const.pir > error:imcc:undefined identifier 'cst' > >in file 'c

Name spaces of PIR identifiers

2008-09-02 Thread François Perrad
It seems that PIR uses only one name space of identifiers. $ cat const.pir .const int cst = 42 .sub 'cst' print cst .end $ parrot const.pir error:imcc:undefined identifier 'cst' in file 'const.pir' line 5 $ cat label.pir .const int L1 = 42 .sub 'main' print L1 goto L1 L