SEYMOUR@phast.phys.washington.EDU (04/27/88)
There is a BUG in the just-arrived Fortran v4.8 compiler. If you use the /D_LINES qualifier all regular Comment lines in your program will become very confused. I've compared it with v4.7, and 4.7 did NOT show the problem. The following program: C a line with an uppercase C c a line with a lowercase c c a line with a tab C a C line with a tab c a lowercase line with spaces C an uppercase line with spaces c a line with a C in the middle i=25 d i=16 write(6,12) 'this is a ',i,' test' 12 format(a,i,a) end Generated the following listing: 26-Apr-1988 11:36:45 VAX FORTRAN V4.8-276 Page 1 26-Apr-1988 11:35:04 SY:[002002]TEST.FOR;5 0001 C a line with an uppercase C %FORT-W-REDCONMAR, Redundant continuation mark ignored at line 2 %FORT-W-INVSTALAB, Invalid statement label ignored at line 2 0002 c a line with a lowercase c %FORT-F-MISSDEL, Missing operator or delimiter symbol [h a lowercase c] in module TEST$MAIN at line 2 0003 c a line with a tab 0004 C a C line with a tab %FORT-F-MISSDEL, Missing operator or delimiter symbol [line with a tab] in module TEST$MAIN at line 3 0005 c a lowercase line with spaces 0006 C an uppercase line with spaces %FORT-F-MISSDEL, Missing operator or delimiter symbol [ine with spaces] in module TEST$MAIN at line 5 0007 c a line with a C in the middle %FORT-F-MISSDEL, Missing operator or delimiter symbol [C in the middle] in module TEST$MAIN at line 7 0008 i=25 0009 d i=16 0010 write(6,12) 'this is a ',i,' test' 0011 12 format(a,i,a) 0012 end COMMAND QUALIFIERS FOR TEST/D_LINE/LIST /CHECK=(NOBOUNDS,OVERFLOW,NOUNDERFLOW) /DEBUG=(NOSYMBOLS,TRACEBACK) /STANDARD=(NOSYNTAX,NOSOURCE_FORM) /SHOW=(NOPREPROCESSOR,NOINCLUDE,MAP,NODICTIONARY,SINGLE) /WARNINGS=(GENERAL,NODECLARATIONS,NOULTRIX) /CONTINUATIONS=19 /NOCROSS_REFERENCE /D_LINES /NOEXTEND_SOURCE /F77 /NOG_FLOATING /I4 /NOMACHINE_CODE /OPTIMIZE /NOANALYSIS COMPILATION STATISTICS Run Time: 0.71 seconds Elapsed Time: 3.17 seconds Page Faults: 342 Dynamic Memory: 333 pages -- dick seymour seymour@uwaphast.bitnet