aboutsummaryrefslogtreecommitdiff
path: root/src/primitives.gperf
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-06-22 08:24:53 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-06-22 08:24:53 +0200
commit9e127d92246d6577792122b013088466e3688da1 (patch)
treeedb73aa03739bf37626aae3038586a80d3b1aa50 /src/primitives.gperf
parentf75e2f8b54ea9d77e94aca6e387556981a7795d3 (diff)
Store decl info in auxilliary data
Diffstat (limited to 'src/primitives.gperf')
-rw-r--r--src/primitives.gperf2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/primitives.gperf b/src/primitives.gperf
index 230413f..ca9b8c2 100644
--- a/src/primitives.gperf
+++ b/src/primitives.gperf
@@ -29,8 +29,10 @@ u64, { TYPE_NUM, {.size = 8, .issigned=false, .isfloat=false} }
u128, { TYPE_NUM, {.size = 16, .issigned=false, .isfloat=false} }
uint, { TYPE_NUM, {.size = 8, .issigned=false, .isfloat=false} }
rune, { TYPE_NUM ,{.size = 4, .issigned=true, .isfloat=false} }
+f16, { TYPE_NUM, {.size = 2, .issigned=true, .isfloat=true } }
f32, { TYPE_NUM, {.size = 4, .issigned=true, .isfloat=true } }
f64, { TYPE_NUM, {.size = 8, .issigned=true, .isfloat=true } }
+f128, { TYPE_NUM, {.size = 16, .issigned=true, .isfloat=true } }
%%
const struct type *
typelookup(const uchar *p, size_t len)