From 5b522325bdc0af283ca6d3ec7d71908858d91b33 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Tue, 6 Aug 2024 18:12:16 +0100 Subject: deastnodeify form compilers --- val.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'val.h') diff --git a/val.h b/val.h index aa68d05..097c06a 100644 --- a/val.h +++ b/val.h @@ -36,10 +36,12 @@ const char *typename_str(Val v); bool is_truthy(Val v); bool val_equal(Val a, Val b); +// ValTy or ObjTy +int val_type(Val v); typedef enum { - OTY_STRING, + OTY_STRING = 100, OTY_FUNC, OTY_ARR, } ObjTy; -- cgit v1.2.3