summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2021-09-09 12:20:40 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2021-09-10 20:00:06 +0900
commitfd12bc1896bd4a78b9ff376fd685a009254b153f (patch)
tree6631b1370060a92d73d8767e66cb099ca7bc9c7a /main.c
parentde2afff1b9233b5b23ca1f6442a4b880e160cffb (diff)
downloadruby-fd12bc1896bd4a78b9ff376fd685a009254b153f.tar.gz
ruby_scan_oct, ruby_scan_hex: are not pure
Silly bug, they write back consumed bytes through passed pointers. Must never be pure functions. ruby_scan_oct does not refer any static variables so it can still be __declspec(noalias), while ruby_scan_hex is not because it reads from ruby_digit36_to_number_table.
Diffstat (limited to 'main.c')
0 files changed, 0 insertions, 0 deletions