-
Notifications
You must be signed in to change notification settings - Fork 2k
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
productionlist: Put the full production in production.rawsource #6358
Conversation
Codecov Report
@@ Coverage Diff @@
## 2.0 #6358 +/- ##
==========================================
+ Coverage 83.64% 84.21% +0.57%
==========================================
Files 278 276 -2
Lines 40239 39692 -547
Branches 5931 5866 -65
==========================================
- Hits 33657 33427 -230
+ Misses 5250 4950 -300
+ Partials 1332 1315 -17
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Could you rebase this into 2.0 branch? Then I'll merge this soon.
This makes it possible to iterate over the productions and see exactly the text that was entered by the author, which is useful to e.g. extract information from the grammar (like syntax-highlighting patterns).
c1a66e0
to
44c8a3b
Compare
Done! (I think? :) |
Merged. Thank you for your contribution :-) |
@@ -12,6 +12,8 @@ Incompatible changes | |||
* #6230: The anchor of term in glossary directive is changed if it is consisted | |||
by non-ASCII characters | |||
* #4550: html: Centering tables by default using CSS | |||
* The ``rawsource`` property of ``production`` nodes now contains the full | |||
production rule. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: I moved this entry to features list.
This makes it possible to iterate over the productions and see exactly the text
that was entered by the author, which is useful to e.g. extract information from
the grammar (like syntax-highlighting patterns).