home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / modula3 / 1026 < prev    next >
Encoding:
Text File  |  1992-11-11  |  1.7 KB  |  63 lines

  1. Newsgroups: comp.lang.modula3
  2. 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>
  3. From: Roger Hoover <rhoover@watson.ibm.com>
  4. Subject: changes to pp for IBMR2
  5. To: m3
  6. Message-ID: <9211121753.AA16884@trek.watson.ibm.com>
  7. Cc: rhoover@watson.ibm.com
  8. X-External-Networks: yes
  9. Date: Thu, 12 Nov 92 12:53:45 EST
  10. Lines: 51
  11.  
  12.  
  13. There are a few changes needed to get pp (in the tools package)
  14. to work under IBMR2, AIX 3.2
  15.  
  16. First, the y.tab.c, lex.yy.c files will not work.  You must make
  17. the following changes and rerun "yacc Parse.yacc" (or bison -y)
  18. and "lex Parse.lex" in pp/src.
  19.  
  20. The minor changes are:
  21.  
  22. diff -c 2.08/pp/src/Parse.lex pp/src/Parse.lex
  23. *** 2.08/pp/src/Parse.lex       Thu Apr 23 21:12:11 1992
  24. --- pp/src/Parse.lex    Thu Nov 12 12:32:49 1992
  25. ***************
  26. *** 98,106 ****
  27.   /* Make sure we have enough comment space allocated. */
  28.   static AllocComments(n)
  29.   {
  30.       extern char *malloc();
  31.       extern char *realloc();
  32. !
  33.       if (nCommentsAlloced == 0) {
  34.         nCommentsAlloced = n+10;
  35.         comments = (struct Comment *)
  36. --- 98,107 ----
  37.   /* Make sure we have enough comment space allocated. */
  38.   static AllocComments(n)
  39.   {
  40. + #ifndef _IBMR2
  41.       extern char *malloc();
  42.       extern char *realloc();
  43. ! #endif
  44.       if (nCommentsAlloced == 0) {
  45.         nCommentsAlloced = n+10;
  46.         comments = (struct Comment *)
  47.  
  48. diff -c 2.08/pp/src/hash.h pp/src/hash.h
  49. *** 2.08/pp/src/hash.h  Thu Dec 12 15:50:36 1991
  50. --- pp/src/hash.h       Thu Nov 12 12:31:56 1992
  51. ***************
  52. *** 195,200 ****
  53. --- 195,203 ----
  54.         return(NULL);
  55.   }
  56.  
  57. + #ifdef _IBMR2
  58. + extern void exit();
  59. + #endif
  60.   void
  61.   install(where)  PTRKEYWORDENTRY where;
  62.   {
  63.