flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > [bug]incomplete macro error with v1.67.6

Author
Thread Post new topic Reply to topic
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20413
Location: In your JS exploiting you and your system
revolution 31 Jul 2006, 13:58
The following fails with "error: incomplete macro.", but it should compile.
Code:
rept 1 d {
    irp o,1 \{ \}  rept 2 x \{ match p,x \\{ display \\`p \\} \}
}
    


Note: that it only fails when the IRP and REPT are on the same line, if they are split then the following works:

Code:
rept 1 d {
    irp o,1 \{ \}
    rept 2 x \{ match p,x \\{ display \\`p \\} \}
}
    
Post 31 Jul 2006, 13:58
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8356
Location: Kraków, Poland
Tomasz Grysztar 31 Jul 2006, 14:13
The sample can be reduced to:
Code:
rept 1 {
rept 1 \{ \} rept 2 \{ rept 1 \\{ \\}  \}
}    

I will search for the cause later today.
Post 31 Jul 2006, 14:13
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8356
Location: Kraków, Poland
Tomasz Grysztar 31 Jul 2006, 15:37
OK, it's fixed.
Post 31 Jul 2006, 15:37
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20413
Location: In your JS exploiting you and your system
revolution 01 Aug 2006, 06:06
Quote:
OK, it's fixed.
Thanks.
Quote:
The sample can be reduced
Hehe, okay yours is a teeny bit smaller than mine. I only put in "display" for reference to give the assembler something to do.
Post 01 Aug 2006, 06:06
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.