aboutsummaryrefslogtreecommitdiff
path: root/environment.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-03-16 14:11:16 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-03-16 14:11:16 -0400
commit500989cf55530b9e9d8866ecb5c6d72ac2b62581 (patch)
tree40ff4c140e907cbca8db5fce4a0ebddd466d28bb /environment.c
parentfd8c961c1d345fc5f57c05b31aaf66d54a0afc44 (diff)
Rename path `root` to path `type`
Diffstat (limited to 'environment.c')
-rw-r--r--environment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/environment.c b/environment.c
index 5358fb53..7212d262 100644
--- a/environment.c
+++ b/environment.c
@@ -84,7 +84,7 @@ env_t *new_compilation_unit(CORD libname)
env_t *path_env = namespace_env(env, "Path");
PATH_TYPE = Type(
StructType, .name="Path", .env=path_env,
- .fields=new(arg_t, .name="root", .type=Type(IntType, .bits=TYPE_IBITS32),
+ .fields=new(arg_t, .name="type", .type=Type(IntType, .bits=TYPE_IBITS32),
.next=new(arg_t, .name="components", .type=Type(ArrayType, .item_type=TEXT_TYPE))));
}