aboutsummaryrefslogtreecommitdiff
path: root/ast.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-02-17 19:32:30 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-02-17 19:32:30 -0500
commitd46925dbfa8627a6a874545630c2acb6975bfdea (patch)
tree2b726ea50adf91b668a24b25d4d9e6ec7f7c2663 /ast.h
parent7355b2f7fe6f5dda2aee8feca025350146ccd0f5 (diff)
Cleanup of builtins
Diffstat (limited to 'ast.h')
-rw-r--r--ast.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ast.h b/ast.h
index b6f2b985..ab88aec5 100644
--- a/ast.h
+++ b/ast.h
@@ -124,11 +124,11 @@ struct ast_s {
} Var;
struct {
int64_t i;
- enum { INT_64BIT, INT_32BIT, INT_16BIT, INT_8BIT } precision;
+ int64_t bits;
} Int;
struct {
double n;
- enum { NUM_64BIT, NUM_32BIT } precision;
+ int64_t bits;
} Num;
struct {
CORD cord;