version 1.4, 2000/02/09 22:10:24
|
version 1.5, 2000/02/22 18:19:02
|
Line 112 lexCAPAdmalloc()
|
Line 112 lexCAPAdmalloc()
|
$cmd |
$cmd |
} |
} |
|
|
lexCAPAdbug() |
lexdbug() |
{ |
{ |
echo "${FLEX} capaLexerDef.flex" |
echo "${FLEX} capaLexerDef.flex" |
# |
# |
Line 161 yaccCAPAdmalloc()
|
Line 161 yaccCAPAdmalloc()
|
$cmd |
$cmd |
} |
} |
|
|
yaccCAPAdbug() |
yaccdbug() |
{ |
{ |
echo "${YACC} capaGrammarDef.y -ocapaParserFun.c" |
echo "${YACC} capaGrammarDef.y -ocapaParserFun.c" |
# |
# |
Line 169 yaccCAPAdbug()
|
Line 169 yaccCAPAdbug()
|
|
|
#-ocapaParserFun.c |
#-ocapaParserFun.c |
|
|
echo "mv y.tab.c capaParserFun.c" |
# echo "mv y.tab.c capaParserFun.c" |
# |
# mv y.tab.c capaParserFun.c |
mv y.tab.c capaParserFun.c |
# echo "mv y.tab.h capaToken.h" |
|
# mv y.tab.h capaToken.h |
|
|
echo "mv y.tab.h capaToken.h" |
echo "mv capaGrammarDef.tab.c capaParserFun.c" |
mv y.tab.h capaToken.h |
mv capaGrammarDef.tab.c capaParserFun.c |
|
|
ofile="${ARCH}/capaParserFun.o" |
ofile="${ARCH}/capaParserFun.o" |
cfile="capaParserFun.c" |
cfile="capaParserFun.c" |
Line 320 CAPAParserUtilsdbug()
|
Line 321 CAPAParserUtilsdbug()
|
$cmd |
$cmd |
} |
} |
|
|
|
Ranlib() |
|
{ |
|
ofile="${ARCH}/ranlib.o" |
|
cfile="ranlib.c" |
|
cmd="${CC} $CCFLAG -c $cfile -o $ofile" |
|
echo $cmd |
|
$cmd |
|
} |
|
|
CAPAParserUtils() |
CAPAParserUtils() |
{ |
{ |
ofile="${ARCH}/capaParserUtils.o" |
ofile="${ARCH}/capaParserUtils.o" |
Line 427 for i in $* ; do
|
Line 437 for i in $* ; do
|
case "$i" in |
case "$i" in |
*FP) |
*FP) |
formulaParser |
formulaParser |
createCAPAlib |
|
;; |
;; |
*LD) |
*LD) |
lexCAPAdmalloc |
lexCAPAdmalloc |
;; |
;; |
*L) |
*X|*x) |
lexCAPA |
lexdbug |
## createCAPAlib |
|
;; |
;; |
*X) |
*L|*l) |
## lexCAPAdbug |
lexCAPA |
## createCAPAlib |
|
;; |
|
*P) |
|
yaccCAPAdbug |
|
createCAPAlib |
|
;; |
;; |
*YD) |
*P|*p) |
echo "Hi There" |
yaccdbug |
yaccCAPAdmalloc |
|
;; |
;; |
*Y) |
*Y|*y) |
yaccCAPA |
yaccCAPA |
## createCAPAlib |
;; |
|
*R|*r) |
|
Ranlib |
;; |
;; |
*PD) |
*PD) |
CAPAParserUtilsdbug |
CAPAParserUtilsdbug |
;; |
;; |
*PU) |
*PU|*pu) |
CAPAParserUtils |
CAPAParserUtils |
CAPAFunction |
|
;; |
;; |
*SS) |
*SS) |
symboldbug |
symboldbug |
Line 470 for i in $* ; do
|
Line 473 for i in $* ; do
|
;; |
;; |
*D) |
*D) |
formulaDbug |
formulaDbug |
createCAPAlib |
|
;; |
|
esac |
|
done |
|
|
|
## createCAPAlib |
|
|
|
for i in $* ; do |
|
case "$i" in |
|
*LD|*YD) |
|
createCAPAlib |
|
compileParseTestDmalloc |
|
;; |
|
*L|*X) |
|
compileParseTest |
|
;; |
|
*PU|*Y|*SS|*DS|*AS) |
|
createCAPAlib |
|
compileParseTest |
|
;; |
|
*O|*o) |
|
compileLoginTest |
|
;; |
;; |
*F|*f) |
*F|*f) |
compileFormulaTest |
CAPAFunction |
;; |
|
*U|*u) |
|
compileUnits |
|
;; |
;; |
*lib|*Lib) |
*lib|*Lib) |
createCAPAlib |
createCAPAlib |
;; |
;; |
|
*PT|*pt) |
|
compileParseTest |
|
;; |
esac |
esac |
done |
done |
|
|
echo " " |
|
exit 0 |
exit 0 |
|
|