X-Git-Url: http://git.annexia.org/?p=whenjobs.git;a=blobdiff_plain;f=lib%2Fwhenproto.x;h=2ca662f25cb649aa3ce1fea96ca680481cf0e5a1;hp=2e646369bd3e8f1f8b4c15b994536f626762b641;hb=f3db678247d4ccc04c6ca1655e2eeec17e1bc169;hpb=65b5a307fc1c55a197ee337180842ac6885ba784 diff --git a/lib/whenproto.x b/lib/whenproto.x index 2e64636..2ca662f 100644 --- a/lib/whenproto.x +++ b/lib/whenproto.x @@ -44,13 +44,16 @@ union status switch (status_code s) { }; enum variable_type { - BOOL_T = 0, - STRING_T = 1, - INT_T = 2, - FLOAT_T = 3 + UNIT_T = 0, + BOOL_T = 1, + STRING_T = 2, + INT_T = 3, + FLOAT_T = 4 }; union variable switch (variable_type t) { + case UNIT_T: + void; case BOOL_T: bool b; case STRING_T: