changed node-name according to ast.h
This commit is contained in:
parent
2757132cf2
commit
e57682d717
|
@ -283,12 +283,10 @@ boxcall: boxaccess argumentlist {AST_NODE_PTR boxcall = AST_new_node(AST_Call, N
|
||||||
$$ = boxcall;};
|
$$ = boxcall;};
|
||||||
|
|
||||||
|
|
||||||
typecast: expr KeyAs type %prec KeyAs {AST_NODE_PTR reinterpretcast = AST_new_node(AST_reinterpretcast, NULL);
|
typecast: expr KeyAs type %prec KeyAs {$$ = AST_new_node(AST_Typecast, $1);
|
||||||
$$ = typecast;
|
|
||||||
DEBUG("Type-Cast"); };
|
DEBUG("Type-Cast"); };
|
||||||
|
|
||||||
reinterpretcast: '(' type ')' expr {AST_NODE_PTR reinterpretcast = AST_new_node(AST_reinterpretcast, NULL);
|
reinterpretcast: '(' type ')' expr {$$ = AST_new_node(AST_Transmute, $4);
|
||||||
$$ = reinterpretcast;
|
|
||||||
DEBUG("Reinterpret-Cast"); };
|
DEBUG("Reinterpret-Cast"); };
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue