home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.modula3
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!darwin.sura.net!haven.umd.edu!decuac!pa.dec.com!src.dec.com!Roger Hoover <rhoover@watson.ibm.com>
- From: Roger Hoover <rhoover@watson.ibm.com>
- Subject: changes to pp for IBMR2
- To: m3
- Message-ID: <9211121753.AA16884@trek.watson.ibm.com>
- Cc: rhoover@watson.ibm.com
- X-External-Networks: yes
- Date: Thu, 12 Nov 92 12:53:45 EST
- Lines: 51
-
-
- There are a few changes needed to get pp (in the tools package)
- to work under IBMR2, AIX 3.2
-
- First, the y.tab.c, lex.yy.c files will not work. You must make
- the following changes and rerun "yacc Parse.yacc" (or bison -y)
- and "lex Parse.lex" in pp/src.
-
- The minor changes are:
-
- diff -c 2.08/pp/src/Parse.lex pp/src/Parse.lex
- *** 2.08/pp/src/Parse.lex Thu Apr 23 21:12:11 1992
- --- pp/src/Parse.lex Thu Nov 12 12:32:49 1992
- ***************
- *** 98,106 ****
- /* Make sure we have enough comment space allocated. */
- static AllocComments(n)
- {
- extern char *malloc();
- extern char *realloc();
- !
- if (nCommentsAlloced == 0) {
- nCommentsAlloced = n+10;
- comments = (struct Comment *)
- --- 98,107 ----
- /* Make sure we have enough comment space allocated. */
- static AllocComments(n)
- {
- + #ifndef _IBMR2
- extern char *malloc();
- extern char *realloc();
- ! #endif
- if (nCommentsAlloced == 0) {
- nCommentsAlloced = n+10;
- comments = (struct Comment *)
-
- diff -c 2.08/pp/src/hash.h pp/src/hash.h
- *** 2.08/pp/src/hash.h Thu Dec 12 15:50:36 1991
- --- pp/src/hash.h Thu Nov 12 12:31:56 1992
- ***************
- *** 195,200 ****
- --- 195,203 ----
- return(NULL);
- }
-
- + #ifdef _IBMR2
- + extern void exit();
- + #endif
- void
- install(where) PTRKEYWORDENTRY where;
- {
-