diff options
Diffstat (limited to 'src/hir/pattern.hpp')
-rw-r--r-- | src/hir/pattern.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/hir/pattern.hpp b/src/hir/pattern.hpp index 205acfcb..17f06a29 100644 --- a/src/hir/pattern.hpp +++ b/src/hir/pattern.hpp @@ -1,4 +1,9 @@ /* + * MRustC - Rust Compiler + * - By John Hodge (Mutabah/thePowersGang) + * + * hir/pattern.hpp + * - HIR Representation of patterns */ #pragma once @@ -50,6 +55,10 @@ struct Pattern enum ::HIR::CoreType type; // Str == _ uint64_t value; // Signed numbers are encoded as 2's complement }), + (Float, struct { + enum ::HIR::CoreType type; // Str == _ + double value; + }), (String, ::std::string), (Named, struct { Path path; |