########################################################################
# #
# This software is part of the ast package #
# Copyright (c) 1982-2011 AT&T Intellectual Property #
# and is licensed under the #
# Eclipse Public License, Version 1.0 #
# by AT&T Intellectual Property #
# #
# A copy of the License is available at #
# (with md5 checksum b35adb5213ca9657e911e9befb180842) #
# #
# Information and Software Systems Research #
# AT&T Research #
# Florham Park NJ #
# #
# David Korn <dgk@research.att.com> #
# #
########################################################################
function err_exit
{
print -u2 -n "\t"
}
alias err_exit='err_exit $LINENO'
integer Errors=0
typeset -T Pt_t=(
float x=1
float y=0
len()
{
}
)
typeset -T Rect_t=(
area()
{
}
)
for ((i=0; i < 100; i++))
do
Rect_t r
Rect_t s=(
)
unset r s
done
Rect_t -A r
unset r