summaryrefslogtreecommitdiff
path: root/parse/type.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse/type.c')
-rw-r--r--parse/type.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/parse/type.c b/parse/type.c
index e932935..31a9d35 100644
--- a/parse/type.c
+++ b/parse/type.c
@@ -412,6 +412,13 @@ istysigned(Type *t)
}
int
+istyint(Type *t)
+{
+ return istysigned(t) || istyunsigned(t);
+}
+
+
+int
istyfloat(Type *t)
{
t = tybase(t);