bugZ80 assembler - Bugs: bug #26772, string argument to macro is not...

 
 

bug #26772: string argument to macro is not parsed correctly

Submitted by:  None
Submitted on:  Wed 10 Jun 2009 10:48:08 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Ready For Test
Privacy: PublicAssigned to: Peter Kollner <asgalon>
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 05 May 2016 11:50:23 PM UTC, comment #1:

will be fixed in next release

Peter Kollner <asgalon>
Project MemberIn charge of this item.
Wed 10 Jun 2009 10:48:08 AM UTC, original submission:

$ z80asm
x: macro arg
db arg
endm

org 0xc000

x 'mld '
^D
internal assembler error, sp == 1
invalid number of arguments for macro (is 2, must be 1)

get_macro_args() cannot deal with string arguments.

In addition, in the man page for z80asm the macro example is ended with endif. Surely that should be endm? If not this should be explained.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by asgalon (Updated the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 05 May 2016 11:52:53 PM UTCasgalonAssigned toNone=>asgalon
    Thu 05 May 2016 11:50:23 PM UTCasgalonStatusIn Progress=>Ready For Test
    Thu 05 May 2016 11:45:15 PM UTCasgalonStatusConfirmed=>In Progress
    Thu 05 May 2016 02:04:39 PM UTCasgalonStatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1