From 741b43044d7beef1e8ca9d8214189ae4de494e8c Mon Sep 17 00:00:00 2001 From: eck Date: Mon, 23 Oct 1989 13:00:35 +0000 Subject: [PATCH] renamed ch7xxx to ch3xxx --- lang/cem/cpp.ansi/Makefile | 14 +++++++------- lang/cem/cpp.ansi/ch3bin.c | 2 +- lang/cem/cpp.ansi/ch3mon.c | 2 +- lang/cem/cpp.ansi/expression.g | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/lang/cem/cpp.ansi/Makefile b/lang/cem/cpp.ansi/Makefile index bc0b941b3..dfdb83986 100644 --- a/lang/cem/cpp.ansi/Makefile +++ b/lang/cem/cpp.ansi/Makefile @@ -42,10 +42,10 @@ LCSRC = tokenfile.c expression.c Lpars.c LOBJ = tokenfile.o expression.o Lpars.o # Objects of hand-written C files -CSRC = LLlex.c LLmessage.c ch7bin.c ch7mon.c domacro.c \ +CSRC = LLlex.c LLmessage.c ch3bin.c ch3mon.c domacro.c \ error.c idf.c init.c input.c main.c options.c \ preprocess.c replace.c skip.c tokenname.c expr.c -COBJ = LLlex.o LLmessage.o ch7bin.o ch7mon.o domacro.o \ +COBJ = LLlex.o LLmessage.o ch3bin.o ch3mon.o domacro.o \ error.o idf.o init.o input.o main.o options.o \ preprocess.o replace.o skip.o tokenname.o next.o expr.o @@ -94,7 +94,7 @@ next.c: make.next $(STRSRC) ./make.next $(STRSRC) >next.c macro.h: make.allocd -repl.h: make.allocd +replace.h: make.allocd LLfiles: $(LSRC) $(GEN) $(GENOPTIONS) $(LSRC) @@ -171,10 +171,10 @@ LLlex.o: strsize.h LLmessage.o: LLlex.h LLmessage.o: Lpars.h LLmessage.o: file_info.h -ch7bin.o: Lpars.h -ch7bin.o: arith.h -ch7mon.o: Lpars.h -ch7mon.o: arith.h +ch3bin.o: Lpars.h +ch3bin.o: arith.h +ch3mon.o: Lpars.h +ch3mon.o: arith.h domacro.o: LLlex.h domacro.o: Lpars.h domacro.o: arith.h diff --git a/lang/cem/cpp.ansi/ch3bin.c b/lang/cem/cpp.ansi/ch3bin.c index b6f9aa019..7c1d6d127 100644 --- a/lang/cem/cpp.ansi/ch3bin.c +++ b/lang/cem/cpp.ansi/ch3bin.c @@ -8,7 +8,7 @@ #include "Lpars.h" #include "arith.h" -ch7bin(pval, oper, val) +ch3bin(pval, oper, val) register arith *pval, val; int oper; { diff --git a/lang/cem/cpp.ansi/ch3mon.c b/lang/cem/cpp.ansi/ch3mon.c index 5da103326..5fd081d17 100644 --- a/lang/cem/cpp.ansi/ch3mon.c +++ b/lang/cem/cpp.ansi/ch3mon.c @@ -8,7 +8,7 @@ #include "Lpars.h" #include "arith.h" -ch7mon(oper, pval) +ch3mon(oper, pval) register arith *pval; { switch (oper) { diff --git a/lang/cem/cpp.ansi/expression.g b/lang/cem/cpp.ansi/expression.g index aadc73efb..d1076b298 100644 --- a/lang/cem/cpp.ansi/expression.g +++ b/lang/cem/cpp.ansi/expression.g @@ -32,7 +32,7 @@ unary(arith *pval;) : unop(&oper) unary(pval) - { ch7mon(oper, pval); } + { ch3mon(oper, pval); } | primary(pval) ; @@ -45,7 +45,7 @@ binary_expression(int maxrank; arith *pval;) binop(&oper) binary_expression(rank_of(oper)-1, &val1) { - ch7bin(pval, oper, val1); + ch3bin(pval, oper, val1); } ]* ; @@ -78,7 +78,7 @@ expression(arith *pval;) [ ',' assignment_expression(&val1) { - ch7bin(pval, ',', val1); + ch3bin(pval, ',', val1); } ]* ; -- 2.34.1