home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / fortran / 3445 < prev    next >
Encoding:
Text File  |  1992-09-07  |  1.4 KB  |  39 lines

  1. Newsgroups: comp.lang.fortran
  2. Path: sparky!uunet!cs.utexas.edu!hermes.chpc.utexas.edu!aswx266
  3. From: aswx266@chpc.utexas.edu (Michael Lemke)
  4. Subject: Re: f77 parse error (Sun 4)
  5. Message-ID: <1992Sep5.051541.26950@chpc.utexas.edu>
  6. Organization: The University of Texas System - CHPC
  7. References: <135445@lll-winken.LLNL.GOV>
  8. Date: Sat, 5 Sep 92 05:15:41 GMT
  9. Lines: 28
  10.  
  11. In article <135445@lll-winken.LLNL.GOV> macq@miguel.llnl.gov (Don MacQueen) writes:
  12. >I have a fortran subroutine that I got from somebody.
  13. >It is from a complete code that was up and running
  14. >under VMS.
  15. >
  16. >When I try to compile with f77 Sun fortran 1.4 on a
  17. >Sun sparcstation IPC (Sun OS 4.1.2) I get this error
  18. >message:
  19. >
  20. >Bad parse, return code 1
  21. >
  22. >What is this all about? I can't see anything wrong with
  23. >the code.
  24.  
  25. With this little information I can only guess.  Next time provide 
  26. exactly what you entered and the the precise error message.
  27.  
  28. My guess is you ran into the silly/stupid/sick Sun *extension* to treat 
  29. a backslash in character constants as a masking symbol like in the 
  30. shell.  So if you have something like 'a\' the Sun doesn't see the 
  31. ending quote.  Try to compile with -xl.  That makes it a bit more VAX 
  32. conform and removes *this* bug (feature, it is documented).  But your 
  33. problem might something completely different.  Just my guess.
  34.  
  35. -- 
  36. Michael Lemke
  37. Astronomy, UT Austin, Texas
  38. (michael@io.as.utexas.edu or UTSPAN::UTADNX::IO::MICHAEL [SPAN])
  39.