Skip to content

Feature/flags#161

Closed
oronsh wants to merge 2 commits intorust-onig:mainfrom
oronsh:feature/flags
Closed

Feature/flags#161
oronsh wants to merge 2 commits intorust-onig:mainfrom
oronsh:feature/flags

Conversation

@oronsh
Copy link
Copy Markdown
Contributor

@oronsh oronsh commented Jun 14, 2021

This PR deals with a bug I encountered when trying to set SyntaxOperator::SYNTAX_OPERATOR_ESC_X_BRACE_HEX8
with python syntax with the set_operators function.
What would happen is that set_operators would override the op2 fields.
So I added functions to deal explicitly withe op and op2

@iwillspeak
Copy link
Copy Markdown
Collaborator

Thanks for the contribution.

I think I would rather fix the enable_operators and disable_operators to avoid truncating than exposing op and op2 directly.

@iwillspeak iwillspeak mentioned this pull request Oct 1, 2021
@iwillspeak
Copy link
Copy Markdown
Collaborator

I'm going to close this PR in favour of #162 . That adds support for proper round tripping of the bits
without changing the public API. I've included your change to add the misisng mark flag in there
too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants