Project

General

Profile

« Previous | Next » 

Revision a2260bd6

Added by mame (Yusuke Endoh) about 6 years ago

compile.c: Separate compile_list to two functions for Array and Hash

compile_list was for the compilation of Array literal and Hash literal.
I guess it was originally reasonable to handle them in one function, but
now, compilation of Array is very different from Hash. So the function
was complicated by many branches for Array and Hash.

This change separates the function to two ones for Array and Hash.