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

Avoid issues when object number reaches 2^16 #98

Merged
merged 1 commit into from
Feb 18, 2024
Merged

Avoid issues when object number reaches 2^16 #98

merged 1 commit into from
Feb 18, 2024

Conversation

zauguin
Copy link
Member

@zauguin zauguin commented Feb 18, 2024

Fixes #97.

LuaTeX's .index is primarily intended to support getting the index of a register and is therefore hardcoded to never return values bigger than a valid register index. Since expl3 integers in this range do not correspond to register indices but are chardefs, we can use .mode to avoid this restriction.

@u-fischer u-fischer merged commit 0d3b480 into develop Feb 18, 2024
1 check passed
@u-fischer u-fischer deleted the fix-97 branch April 11, 2024 18:38
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