Re: [IMCC] add ".label" to lexer for macro labels

2007-10-02 Thread Bernhard Schmalhofer
Klaas-Jan Stol schrieb: I wonder in what case it's useful to have a "normal" .local directive in a macro (with its normal semantics). Every time the macro is expanded, the same local var. would be declared, which can't be good. As far as I understand it, PIR macros a simple text replacements w

Re: [IMCC] add ".label" to lexer for macro labels

2007-10-01 Thread Klaas-Jan Stol
On 10/2/07, Allison Randal <[EMAIL PROTECTED]> wrote: > > [EMAIL PROTECTED] wrote: > > > >>> The big overall cunning plan is to remove ".local" for this purpose > >>> (defining labels), and to use ".local" ONLY for declaring variables. > >>> Then, once all ".local" (in macros) are replaced by ".lab

Re: [IMCC] add ".label" to lexer for macro labels

2007-10-01 Thread Allison Randal
[EMAIL PROTECTED] wrote: The big overall cunning plan is to remove ".local" for this purpose (defining labels), and to use ".local" ONLY for declaring variables. Then, once all ".local" (in macros) are replaced by ".label", we can start replacing ".sym"s by ".local", so that ".sym" can be remov

Re: [IMCC] add ".label" to lexer for macro labels

2007-09-27 Thread parrotcode
On Sep 28, 12:45 am, [EMAIL PROTECTED] (Bernhard Schmalhofer) wrote: > Klaas-Jan Stol schrieb:> hi, > > > attached a patch that adds ".label" as a directive to declare labels > > in a macro. > Applied in r21624. thanks! > > > The big overall cunning plan is to remove ".local" for this purpose > >

Re: [PATCH][IMCC] add ".label" to lexer for macro labels

2007-09-27 Thread Bernhard Schmalhofer
Klaas-Jan Stol schrieb: hi, attached a patch that adds ".label" as a directive to declare labels in a macro. Applied in r21624. The big overall cunning plan is to remove ".local" for this purpose (defining labels), and to use ".local" ONLY for declaring variables. Then, once all ".local"

[PATCH][IMCC] add ".label" to lexer for macro labels

2007-09-27 Thread Klaas-Jan Stol
hi, attached a patch that adds ".label" as a directive to declare labels in a macro. The big overall cunning plan is to remove ".local" for this purpose (defining labels), and to use ".local" ONLY for declaring variables. Then, once all ".local" (in macros) are replaced by ".label", we can start