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

Minor assertion verifying that no variable has an "=" in its values. #48

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

PanoLeRamix
Copy link
Contributor

This is a minor assertion verifying that no variable has an "=" in its values.
It changes almost nothing, but might save to others the time it took to me to understand the problem while I was using NPF giving it values as "CFLAGS=-DNAIVE=1", making it constantly crash.
For example, this:

%variables
PARAM=[1-3]

would be fully valid, as this:

%variables
PARAM={a=1,a=2,a=3}

would throw an exception.

@tbarbette tbarbette merged commit b45f6c3 into tbarbette:master Dec 11, 2023
1 check passed
@tbarbette
Copy link
Owner

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants