flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > assume bug

Author
Thread Post new topic Reply to topic
lovefasm



Joined: 17 Jun 2007
Posts: 22
lovefasm
Code:
include 'win32ax.inc' 
include 'macro/masm.inc' 

struct Point 
  x dd ? 
  y dd ? 
ends 
struct Square Point 
  side dd ? 
ends 
struct Circle Point 
  radius dd ? 
ends 

start: 

assume eax:Point 
assume eax:Square 
assume eax:Circle ; Fails here with "Invalid Name" 

.end start
    
Post 06 Mar 2008, 15:25
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17671
Location: In your JS exploiting you and your system
revolution
Here is a fix for you.
In masm.inc add a backslash to the following:
Code:
...
      struc rd cnt \\{ def@assumed reg,.,rd cnt \\}
      struc rt cnt \\{ def@assumed reg,.,rt cnt \\}
      struc rq cnt \\{ def@assumed reg,.,rq cnt \\}
      reg\#@assumed equ   ;<--- add a backslash here
      virtual at reg
       reg struct
...    
Post 06 Mar 2008, 15:31
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: 17671
Location: In your JS exploiting you and your system
revolution
Can a mod tag this topic as with the other bugs for Tomasz Grysztar to look into when he is free. Thanks.
Post 11 May 2008, 17:48
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: 17671
Location: In your JS exploiting you and your system
revolution
Note: This bug has been fixed in version 1.67.27
Post 12 Jul 2008, 19:30
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-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.