diff options
author | rms <rms@138bc75d-0d04-0410-961f-82ee72b054a4> | 1992-10-06 00:20:42 +0000 |
---|---|---|
committer | rms <rms@138bc75d-0d04-0410-961f-82ee72b054a4> | 1992-10-06 00:20:42 +0000 |
commit | 129abc5beff43da3af9a17e60631cdbbcbb518e0 (patch) | |
tree | a2358c440dd9226b79798a5e374ad62e019b28a1 /gcc/make-cc1.com | |
parent | e6d2ff12670df071780f635d4c00df2337f52dea (diff) | |
download | gcc-129abc5beff43da3af9a17e60631cdbbcbb518e0.tar.gz |
Extract line containing "#define YYEMPTY" from
cp-parse.c, and append to cp-parse.h (a la Makefile.in).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2331 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/make-cc1.com')
-rw-r--r-- | gcc/make-cc1.com | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/make-cc1.com b/gcc/make-cc1.com index d62fe01e843..cddfdfd32fa 100644 --- a/gcc/make-cc1.com +++ b/gcc/make-cc1.com @@ -241,6 +241,17 @@ $set verify $ 'BISON' /define /verbose 'flnm'.y $ 'RENAME' 'flnm'_tab.c 'flnm'.c $ 'RENAME' 'flnm'_tab.h 'flnm'.h +$ if flnm.eqs."cp-parse" +$ then +$ search cp-parse.c "#define YYEMPTY"/output=t.tmp +$ open jfile$ t.tmp +$ read jfile$ empty_line +$ close jfile$ +$ open jfile$ cp-parse.h/append +$ write jfile$ empty_line +$ close jfile$ +$ delete/nolog t.tmp; +$ endif $!'f$verify(0) $no_bison: $ endif |