addablqexpr(3)
adds a new argument in queue of an expression.
SYNOPSYS
#include "abl101.h"
void addablqexpr( Expr1, Expr2 )
chain_list *Expr1;
chain_list *Expr2;
PARAMETERS
- Expr1
-
First expression.
- Expr2
-
Second expression.
DESCRIPTION
addablqexpr adds Expr2 in queue of Expr1.
The expression pointers Expr2 MUSTN'T be used after
the call to this function
RETURN VALUE
addablqexpr returns nothing.
EXAMPLE
#include "abl101.h"
chain_list *Expr;
Expr = createabloper( ABL_OR );
addablqexpr( Expr, createablatom( "a" ) );
addablqexpr( Expr, createablatom( "b" ) );
/* displays (a or b) */
viewablexpr( Expr, ABL_VIEW_VHDL );