There are potentially three meanings for "macro" in this thread.

1. Part of what the formatting does is highlight z/OS macro names in the code. 
So if you code GETMAIN it knows that is a keyword, not some random token. There 
is a list of z/OS macro names in the file that makes that magic work. 

2. Part of what the formatting does is highlight comments. If you code * Clear 
R2 then it knows to format that in green italics. HLASM has macro comments that 
begin with .* and unfortunately Notepad++ does not have any ability to 
recognize comments based on their first TWO characters. You just can't do that 
in a formatting file.

3. @Gil apparently assumed there were some sort of macros in the formatting 
process itself. A macro to recognize a comment or something like that. Nope, it 
does not work that way. There are no macros in the formatting file itself.

Charles


-----Original Message-----
From: IBM Mainframe Assembler List [mailto:[email protected]] On 
Behalf Of Abe Kornelis
Sent: Sunday, June 4, 2023 11:50 AM
To: [email protected]
Subject: Re: Notepad++ language formatting

Paul,

there's a difference in reference frame, causing confusion.

To highlight macros differently from opcodes,
Notepad++ needs a list of them.
That's the list of macros I referred to.
I extended the list to contain most macros from
SYS1.MACLIB and SYS1.MODGEN.

Reply via email to