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