-
Notifications
You must be signed in to change notification settings - Fork 262
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
xml_parsert: construct with message handler #8135
Conversation
e67fe23
to
dedf01d
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #8135 +/- ##
===========================================
- Coverage 79.66% 79.65% -0.01%
===========================================
Files 1683 1684 +1
Lines 195551 195563 +12
===========================================
- Hits 155777 155772 -5
- Misses 39774 39791 +17 ☔ View full report in Codecov by Sentry. |
dedf01d
to
898c9fe
Compare
Keeping as draft until reentrancy questions are settled in #8153. |
898c9fe
to
e4ba45b
Compare
Now uses the same style of guards as agreed for JSIL in #8153. |
This both avoids an object of static lifetime as well as it fixes the (transitive) use of the deprecated messaget() constructor. Avoid global objects in the lexer (as side-effect making it reentrant) as initialisation is required. The parser continues to have global state, so guard against reentrant use.
e4ba45b
to
9f01d3e
Compare
This both avoids an object of static lifetime as well as it fixes the (transitive) use of the deprecated messaget() constructor.