addablhexpr(3)

addablhexpr3

Adds a new argument in head of an expression.

Synopsys

#include "abl101.h"
void addablhexpr( Expr1, Expr2 )
  chain_list *Expr1;
  chain_list *Expr2;

Parameters

Expr1

First expression.

Expr2

Second expression.

Overview

addablhexpr adds Expr2 in head of Expr1. The expression pointers Expr2 MUSTN'T be used after the call to this function

Return value

addablhexpr returns nothing.

Examples

#include "abl101.h"
  chain_list ∗Expr;
  Expr = createabloper( ABL_OR );
  addablhexpr( Expr, createablatom( "a" ) );
  addablhexpr( Expr, createablatom( "b" ) );
  /* displays (a or b) */
  viewablexpr( Expr, 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.