Handle inherited fields correctly.

This commit is contained in:
Bob Nystrom
2013-12-10 16:13:25 -08:00
parent 1e2449893e
commit c1cfe1b9f6
10 changed files with 174 additions and 22 deletions
+5
View File
@@ -1,6 +1,8 @@
#ifndef wren_common_h
#define wren_common_h
// TODO(bob): Use stdbool.h and `bool` for bools instead of int/1/0.
// This header contains macros and defines used across the entire Wren
// implementation. In particular, it contains "configuration" defines that
// control how Wren works. Some of these are only used while hacking on
@@ -8,6 +10,9 @@
//
// This header is *not* intended to be included by code outside of Wren itself.
// TODO(bob): Prefix these with Wren and use #if instead of #ifdef. That way
// the flags can be set externally.
// Define this to stress test the GC. It will perform a collection before every
// allocation.
//#define DEBUG_GC_STRESS