Re: Strangeness with '.sub' in macros

2003-12-31 Thread Leopold Toetsch
Bernhard Schmalhofer <[EMAIL PROTECTED]> wrote: > When a macro contains a '.sub' call, and that macro is used twice, then I get > a 'memory error'. Confirmed. The segfault is in expand_pcc_sub_call(), the "sub" SymReg is NULL on the second expansion. > How can I tell 'parrot' to dump a core file?

Re: Strangeness with '.sub' in macros

2003-12-30 Thread Melvin Smith
At 05:45 PM 12/30/2003 +0100, Bernhard Schmalhofer wrote: Hi, I have been playing around with 'libpcre' for Parrot m4. For some reason I couldn't compile two regular expressions in the same PIR script. I created a sample C program and that worked like it should. It looks like the error has nothing

Re: Strangeness with '.sub' in macros

2003-12-30 Thread Harry Jackson
Bernhard Schmalhofer wrote: Hi, Could sombody test the attached script on another machine? I'm working here on a Linux laptop: I am geting a seg fault. Its fine when the second call is commented out. I am not sure if any of the following is any use to you. The follwoing PASM was part generated f

Strangeness with '.sub' in macros

2003-12-30 Thread Bernhard Schmalhofer
Hi, I have been playing around with 'libpcre' for Parrot m4. For some reason I couldn't compile two regular expressions in the same PIR script. I created a sample C program and that worked like it should. It looks like the error has nothing to do with 'libpcre'. So I boiled down my code to a sma