.\" $Id: isablsimilarexpr.3,v 1.1 2002/03/18 11:06:16 ludo Exp $ .\" @(#)isablsimilarexpr.2 2.7 96/07/02 ; Labo masi cao-vlsi; Author : Jacomme Ludovic .TH ISABLSIMILAREXPR 3 "October 1, 1997" "ASIM/LIP6" "ABL FUNCTIONS" .SH NAME isablsimilarexpr \- tests if two expressions have the same morphology. .so buster/alliance/alc_origin.1.en.gz .SH SYNOPSYS .nf .if n \{\ .ft B \} .if t \{\ .ft CR \} #include "abl101.h" int isablsimilarexpr( Expr1, Expr2 ) chain_list \(**Expr1; chain_list \(**Expr2; .ft R .fi .SH PARAMETERS .TP 20 \fIExpr1\fP First expression. .TP \fIExpr2\fP Second expression. .SH DESCRIPTION \fBisablequalexpr\fP compares \fIExpr1\fP and \fIExpr2\fP. .br .SH RETURN VALUE if \fIExpr1\fP and \fIExpr2\fP have got the same morphology \fBisablequalexpr\fP returns 1 and 0 otherwise. .SH EXAMPLE .ta 3n 6n 9n 12n 15n 18n 21n .nf .if n \{\ .ft B \} .if t \{\ .ft CR \} #include "abl101.h" chain_list \(**Expr1; chain_list \(**Expr2; Expr1 = createablbinexpr( ABL_AND, createablatom( "a" ), createablatom( "b" ) ); Expr2 = createablbinexpr( ABL_AND, createablatom( "c" ), createablatom( "d" ) ); /* displays 1 */ printf( "%d", isablsimilarexpr( Expr1, Expr2 ) ); .ft R .fi .SH SEE ALSO .BR abl (1) .so buster/alliance/alc_bug_report.1.en.gz