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

[texinfo] Issue resolving macros with no parameters specified #4545

Open
1 task done
drolevar opened this issue Apr 23, 2024 · 1 comment
Open
1 task done

[texinfo] Issue resolving macros with no parameters specified #4545

drolevar opened this issue Apr 23, 2024 · 1 comment
Labels

Comments

@drolevar
Copy link

Description / Steps to reproduce the issue

Texinfo 7.1 supplied with MSYS adds an empty line into argument resolution if no parameter is specified.

Let's consider the following example:

@c -- Macro definition --
@macro foomac{body}
@c blahblah {\body\}
@end macro

@c -- Macro being used --
@foomac

Expected behavior

Since no argument is specified, it should be resolved to

@c blahblah {}

Actual behavior

But instead it's being resolved to

@c blahblah {
}

which breaks a number of scenarios.

Verification

Windows Version

MINGW32_NT-10.0-19045

Are you willing to submit a PR?

No response

@drolevar drolevar added the bug label Apr 23, 2024
@drolevar
Copy link
Author

Has to be noted, that the same codebase on Cygwin and native Linux works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant