Enable declaration of set, vector, and table types in bifs.

Extends the possibility of declaring record types, e.g.,
type NAME: set;

One can only *declare* but not *define* the type in the bif.
This commit is contained in:
Gregor Maier 2011-02-11 12:32:24 -08:00
parent d95ac54579
commit 663552a3cd
2 changed files with 39 additions and 25 deletions

View file

@ -73,6 +73,9 @@ HEX [0-9a-fA-F]+
"enum" return check_c_mode(TOK_ENUM);
"type" return check_c_mode(TOK_TYPE);
"record" return check_c_mode(TOK_RECORD);
"set" return check_c_mode(TOK_SET);
"table" return check_c_mode(TOK_TABLE);
"vector" return check_c_mode(TOK_VECTOR);
"module" return check_c_mode(TOK_MODULE);
"@ARG@" return TOK_ARG;