зеркало из https://github.com/github/ruby.git
89efb94fec
This eliminates the subnode on RationalNode and replaces it with two integer fields, which represent the ratio for the rational. It also reduces those two integers if they both fit into 32 bits. Importantly, this PR does not implement bignum reduction. That's something I'd like to consider for the future, but it's simple enough for now to leave them unreduced, which makes it more useful than it used to be. https://github.com/ruby/prism/commit/86e06c7068 |
||
---|---|---|
.. | ||
pm_buffer.c | ||
pm_buffer.h | ||
pm_char.c | ||
pm_char.h | ||
pm_constant_pool.c | ||
pm_constant_pool.h | ||
pm_integer.c | ||
pm_integer.h | ||
pm_list.c | ||
pm_list.h | ||
pm_memchr.c | ||
pm_memchr.h | ||
pm_newline_list.c | ||
pm_newline_list.h | ||
pm_string.c | ||
pm_string.h | ||
pm_string_list.c | ||
pm_string_list.h | ||
pm_strncasecmp.c | ||
pm_strncasecmp.h | ||
pm_strpbrk.c | ||
pm_strpbrk.h |