dupablexpr(3)

dupablexpr3

Duplicates an expression.

Synopsys

#include "abl101.h"
chain_list ∗dupablexpr( Expr )
  chain_list ∗Expr;

Parameters

Expr

Expression to duplicate.

Overview

dupablexpr duplicates the expression Expr.

Return value

dupablexpr returns the duplicated expression.

Examples

#include "abl101.h"
  chain_list ∗ExprAorB;
  chain_list ∗ExprAnorB;
  ExprAorB = createabloper( ABL_OR );
  addablhexpr( ExprAorB, createablatom( "a" ) );
  addablhexpr( ExprAorB, createablatom( "b" ) );
  ExprAnorB = createablnotexpr( dupablexpr( ExprAorB ) );
  /* displays (a or b) (a nor b) */
  viewablexpr( ExprAorB, ABL_VIEW_VHDL );
  viewablexpr( ExprAnorB, ABL_VIEW_VHDL );

Releases

4 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–8
  2. 9–10

From alliance 5.1.1-3 in Debian 10 (Buster). Parsed by carta from the page's man source.