add boolan support

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12944 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2003-10-03 00:28:29 +00:00
parent 67522cdee3
commit 8b8bcb8c9b
11 changed files with 112 additions and 0 deletions

View File

@@ -152,6 +152,9 @@ length_type (const char *name, const Type *t, const char *variable)
length_type (name, t->subtype, variable);
fprintf (codefile, "ret += 1 + length_len (ret);\n");
break;
case TBoolean:
length_primitive ("boolean", name, variable);
break;
default :
abort ();
}