summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authornicholas a. evans <nick@rubinick.dev>2024-07-06 17:41:52 -0400
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2024-07-16 07:22:11 +0900
commite165d92d37ab1b32d505977d685993cba3131298 (patch)
tree4a1bc39eb1800eabed5aa892d247d6ae80039218 /include
parent3f679c02a91edd41a3009d1370385ba094fb016c (diff)
[ruby/rdoc] Drop reimplementation of Ripper lex state
(https://github.com/ruby/rdoc/pull/1118) * Drop reimplementation of Ripper lex state This code was for ruby 2.4 compatibility, but rdoc dropped support for ruby 2.4 about three years ago, in f480b970c. This code was almost half of the lines of code in rdoc/parser/ripper_state_lex. * Remove unused Ripper constants and const_defined? This was mostly copied from the diff in @st0012's PR comment. The remaining constants have been updated to get their value directly from Ripper. Co-authored-by: Stan Lo <stan001212@gmail.com> * Use Ripper::EXPR_LABEL directly Since this is only used from outside RipperStateLex, there's no longer any benefit to using the indirect reference rather than just going straight to Ripper. --------- https://github.com/ruby/rdoc/commit/dd8c216263 Co-authored-by: Stan Lo <stan001212@gmail.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions