diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-06-11 18:38:30 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-06-11 18:38:30 +0100 |
| commit | 366b306df04e14a5841868a40016cd844e120d99 (patch) | |
| tree | d9c69614ac7fd29850dee7228f47dc7ee3650596 /src/entity.cpp | |
| parent | 4bf1f798f5e07bbadb58d4ceacbcade4a43d8bd2 (diff) | |
Default parameters for procedures
Diffstat (limited to 'src/entity.cpp')
| -rw-r--r-- | src/entity.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/entity.cpp b/src/entity.cpp index d8159d449..26e94dbf1 100644 --- a/src/entity.cpp +++ b/src/entity.cpp @@ -81,10 +81,11 @@ struct Entity { ExactValue value; } Constant; struct { - i32 field_index; - i32 field_src_index; - bool is_immutable; - bool is_thread_local; + i32 field_index; + i32 field_src_index; + bool is_immutable; + bool is_thread_local; + ExactValue default_value; } Variable; struct { bool is_type_alias; |