diff options
| author | gingerBill <bill@gingerbill.org> | 2018-06-17 10:58:59 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2018-06-17 10:58:59 +0100 |
| commit | c2ca24a486319c0e8b9a5cd0c377a9d66eb036d3 (patch) | |
| tree | f0f34d5c36ddd1535088fe57465da88a07435ee4 /src/exact_value.cpp | |
| parent | e5aff6fd6d88c58b9ac4d303a97c5990f6f622b0 (diff) | |
Big renaming: `AstNode` to `Ast`
Diffstat (limited to 'src/exact_value.cpp')
| -rw-r--r-- | src/exact_value.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/exact_value.cpp b/src/exact_value.cpp index 7012d4db5..1f07e2ee6 100644 --- a/src/exact_value.cpp +++ b/src/exact_value.cpp @@ -3,7 +3,7 @@ // TODO(bill): Big numbers // IMPORTANT TODO(bill): This needs to be completely fixed!!!!!!!! -struct AstNode; +struct Ast; struct HashKey; struct Type; struct Entity; @@ -37,8 +37,8 @@ struct ExactValue { f64 value_float; i64 value_pointer; Complex128 value_complex; - AstNode * value_compound; - AstNode * value_procedure; + Ast * value_compound; + Ast * value_procedure; Entity * value_entity; }; }; @@ -73,7 +73,7 @@ HashKey hash_exact_value(ExactValue v) { } -ExactValue exact_value_compound(AstNode *node) { +ExactValue exact_value_compound(Ast *node) { ExactValue result = {ExactValue_Compound}; result.value_compound = node; return result; @@ -123,7 +123,7 @@ ExactValue exact_value_pointer(i64 ptr) { return result; } -ExactValue exact_value_procedure(AstNode *node) { +ExactValue exact_value_procedure(Ast *node) { ExactValue result = {ExactValue_Procedure}; result.value_procedure = node; return result; |