Continuation of Comment Line


Continuation of Comment Line



I am parsing some IBM Assembly Language which also happens to be a BMS map.



The code looks like this:


*02LN DFHMDF POS=(04,05),LENGTH=70,ATTRB=(ASKIP,BRT), X
HILIGHT=REVERSE,COLOR=BLUE



Note that the first line is a comment based on the * in the first column.



Is the second line also a comment because the first line has a continuation character?



The context of this question is that I am parsing the code without a mainframe as I am converting these maps to a different system.




1 Answer
1



As per the HLASM reference:



Comment statements must lie within the statement field. If the comment extends into the
continuation-indicator field, the statement following the comment statement is considered a
continuation line of that comment statement.



So your guess is right: you can also create multiline-comments by using the continuation-indicator.






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

api-platform.com Unable to generate an IRI for the item of type

How to set up datasource with Spring for HikariCP?

Display dokan vendor name on Woocommerce single product pages