Renaming ERR_MEMORY -> ERR_OUT_OF_MEMORY.

This commit is contained in:
Ruben Ayrapetyan
2014-10-14 14:08:38 +04:00
parent 85ad5f8350
commit c4ba033970
5 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -112,7 +112,7 @@ read_sources (const char *script_file_names[],
if (source_buffer_tail + current_source_size >= source_buffer + sizeof (source_buffer))
{
jerry_exit (ERR_MEMORY);
jerry_exit (ERR_OUT_OF_MEMORY);
}
size_t bytes_read = __fread (source_buffer, 1, current_source_size, file);