summaryrefslogtreecommitdiff
path: root/sprintf.c
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2021-12-19 04:00:51 +0900
committerYusuke Endoh <mame@ruby-lang.org>2021-12-19 04:00:51 +0900
commit6a51c3e80c0901851c252ed4d1387e43939a452f (patch)
tree407baa63ca98192826df2fce979fa2e840cfd7db /sprintf.c
parentacac2b8128980b97c64b4d057acdf2ceffb0b981 (diff)
downloadruby-6a51c3e80c0901851c252ed4d1387e43939a452f.tar.gz
Make AST.of possible even under eval when keep_script_lines is enabled
Now the following code works without an exception. ``` RubyVM.keep_script_lines = true eval(<<END) def foo end END p RubyVM::AbstractSyntaxTree.of(method(:foo)) ```
Diffstat (limited to 'sprintf.c')
0 files changed, 0 insertions, 0 deletions