Microsoft KB Archive/30380

= FIX: Text Macros Cannot Serve as Data-Definition Replacements =

Article ID: 30380

Article Last Modified on 10/29/2003

-

APPLIES TO


 * Microsoft Macro Assembler 5.1 Standard Edition
 * Microsoft Macro Assembler 5.1a

-



This article was previously published under Q30380



SYMPTOMS
A text macro cannot be used to select data-definition directives. The following program demonstrates this problem: .MODEL SMALL .CODE start: mov ax,@data mov ds,ax

gets  equ    boat  gets   3 END start The following assembler error message is generated on the &quot;boat gets 3&quot; line:

A2105 Expected: instruction, directive, or label



STATUS
Microsoft has confirmed this to be a problem with MASM versions 5.1 and 5.1a. This problem was corrected in version 6.0.

Additional query words: 5.10 5.10a buglist5.10 buglist5.10a fixlist6.00

Keywords: kbfix KB30380

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.