simpablexpr3
Simplies an expression.
Synopsys
#include "abl101.h" chain_list ∗simpablexpr( Expr ) chain_list ∗Expr;
Parameters
- Expr
-
Expression to simplfy.
Overview
simpablexpr simplifies Expr. The expression pointer Expr MUSTN'T be used after the call to this function.
Return value
simpablexpr returns a pointer to the simplied expression.
Examples
#include "abl101.h"
chain_list ∗Expr;
Expr = createablbinexpr( ABL_AND,
createablatom( "'0'" ),
createablatom( "'1'" ) );
Expr = simpablexpr( Expr );
/* displays '0' */
viewablexpr( Expr, ABL_VIEW_VHDL );
Releases
4 releases since Debian 7 (Wheezy); the text changed 1 time.