diff options
| author | gingerBill <bill@gingerbill.org> | 2018-12-27 12:12:14 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2018-12-27 12:12:14 +0000 |
| commit | 7c982b6e109d9e9b4b99c728eea0a3aa5b0849d7 (patch) | |
| tree | 22b90486b58ad57dae0f22d4f1313dc27603e4a3 /src/types.cpp | |
| parent | cc14180e9d37a397f9a3d7b028397f222ffa565b (diff) | |
min & max for types
Diffstat (limited to 'src/types.cpp')
| -rw-r--r-- | src/types.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/types.cpp b/src/types.cpp index 512505007..839c237c5 100644 --- a/src/types.cpp +++ b/src/types.cpp @@ -171,6 +171,8 @@ struct TypeUnion { Scope * scope; \ Entity * names; \ Type * base_type; \ + ExactValue min_value; \ + ExactValue max_value; \ }) \ TYPE_KIND(Tuple, struct { \ Array<Entity *> variables; /* Entity_Variable */ \ |