Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macroNameinMend option incorrectly adds macro system option to the %mend statement #53

Closed
rafgag opened this issue May 20, 2021 · 3 comments · Fixed by #54
Closed

macroNameinMend option incorrectly adds macro system option to the %mend statement #53

rafgag opened this issue May 20, 2021 · 3 comments · Fixed by #54
Assignees
Labels

Comments

@rafgag
Copy link
Member

rafgag commented May 20, 2021

If SAS macro name contains any macro system options (e.g. /minoperator), then these options are added to the %mend statement, when macroNameinMend is set to 'true' in the .sasjslint file and 'Format Document' option (in the right-click menu) is selected.

Example:

image

Result: A warning message in the SAS log during the execution.

image

@allanbowe
Copy link
Member

Indeed - the end of the %macro statement can contain a set of options, delimted by a /. There are examples at the bottom of the documentation. We will fix.

@saadjutt01 saadjutt01 self-assigned this May 20, 2021
@saadjutt01
Copy link
Member

%mend syntax remains the same,
%macro syntax needs to be updated for parameter-list and available options:

Syntax: %MACRO macro-name <(parameter-list)> </ options>;

@saadjutt01 saadjutt01 mentioned this issue May 20, 2021
7 tasks
@ghost
Copy link

ghost commented May 20, 2021

🎉 This issue has been resolved in version 1.10.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@ghost ghost added the released label May 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants