- scriptified the scripted marines.
- fixed symbol name generation for native functions. - moved PrintableName to VMFunction so that native functions also have this information.
This commit is contained in:
parent
97763b5a2b
commit
360436c201
20 changed files with 658 additions and 756 deletions
|
|
@ -787,11 +787,11 @@ type_list(X) ::= type_list(A) COMMA type_or_array(B). { X = A; /*X-overwrites-A*
|
|||
type_list_or_void(X) ::= VOID. { X = NULL; }
|
||||
type_list_or_void(X) ::= type_list(X).
|
||||
|
||||
array_size_expr(X) ::= LBRACKET opt_expr(A) RBRACKET.
|
||||
array_size_expr(X) ::= LBRACKET(L) opt_expr(A) RBRACKET.
|
||||
{
|
||||
if (A == NULL)
|
||||
{
|
||||
NEW_AST_NODE(Expression,nil,A);
|
||||
NEW_AST_NODE(Expression,nil,L.SourceLoc);
|
||||
nil->Operation = PEX_Nil;
|
||||
nil->Type = NULL;
|
||||
X = nil;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue