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

Space Inserted after Macro Call Arguments #58

Open
isc-jilee opened this issue Sep 3, 2024 · 2 comments
Open

Space Inserted after Macro Call Arguments #58

isc-jilee opened this issue Sep 3, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@isc-jilee
Copy link

For Macro calls, such as $$$MACRO(foo,bar,baz), empty space is inserted after each comma $$$MACRO(foo, bar, baz).

@isc-jilee
Copy link
Author

Since Macros are substituted in the pre-compile step they cannot be treated like method calls.

@isc-egabhart
Copy link
Collaborator

Needs "in macro" handler to ignore white space adjustment when in macro parens but outside of function parens
See "inJSON" handler

@isc-tleavitt isc-tleavitt added the bug Something isn't working label Dec 5, 2024
isc-egabhart added a commit to isc-egabhart/isc-codetidy that referenced this issue Dec 5, 2024
Fixed bug where CodeTidy adds spaces to macro args, triggering compilation failures (intersystems#58)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants