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

Macro names: preserve the case of the original variable names #148

Merged
merged 1 commit into from
Oct 8, 2022

Conversation

laurentlb
Copy link
Owner

If there's a uniform "time", we used to generate the macro "VAR_TIME". Instead, we now preserve the case and generate the macro "VAR_time".
Rationale: with the change in case, we might get conflicts in the macro names (e.g. if you had both "t" and "T"). This happens for example when the names were already minified.

If there's a uniform "time", we used to generate the macro "VAR_TIME". Instead, we now preserve the case and generate the macro "VAR_time".
Rationale: with the change in case, we might get conflicts in the macro names (e.g. if you had both "t" and "T"). This happens for example when the names were already minified.
@laurentlb laurentlb merged commit 004aeab into master Oct 8, 2022
@laurentlb laurentlb deleted the macroname branch October 8, 2022 22:53
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.

1 participant